TableBox Row Addition

vipinkuruvilla
Member Posts: 143
Hai Friends,
Can anyone tell me how to bind textbox dynamically in a tablebox?? The textbox number is equal to the number of records in the table. This should get binded row wise in a tablebox.
Appreciate your help......
Can anyone tell me how to bind textbox dynamically in a tablebox?? The textbox number is equal to the number of records in the table. This should get binded row wise in a tablebox.
Appreciate your help......
0
Comments
-
You want to add new record into the table to show count of the records in the table? Or you want just add the count somewhere on the form? I do not understand what is your objective... :-k0
-
kine wrote:You want to add new record into the table to show count of the records in the table? Or you want just add the count somewhere on the form? I do not understand what is your objective... :-k
No no my requirement is according to the count I want the textbox to get binded. Hope now you are clear with my requirement?0 -
Hi vipinkuruvilla,
If I understand you correctly and you just want a count of the number of records with/without filter etc. then it's simply adding a textbox with SourceExpr = Rec.Count0 -
DaveT wrote:Hi vipinkuruvilla,
If I understand you correctly and you just want a count of the number of records with/without filter etc. then it's simply adding a textbox with SourceExpr = Rec.Count
No that is not my requirenment. Consider that my record count is 10. Then I should have 10 textbox row wise in a tablebox. This should be programatically done.
Hope now everyone is clear.0 -
not clear to me - you want a column that counts?
1
2
3
4
5
6
7
8
9
10
like excel looks?0 -
Savatage wrote:not clear to me - you want a column that counts?
1
2
3
4
5
6
7
8
9
10
like excel looks?
textbox 1
textbox 2
textbox 3
textbox 4
textbox 5
textbox 6
textbox 7
textbox 8
textbox 9
textbox 10
That is if the count is 10 I want that number of textboxes row wise in a tablebox0 -
If there is just 10 records in the table, the table box will have 10 rows automatically... I still do not understand what do you want to reach...0
-
kine wrote:If there is just 10 records in the table, the table box will have 10 rows automatically... I still do not understand what do you want to reach...
Ok it will have 10 rows automatically. I want to have 10 textboxes in that 10 rows so that i can display 10 different values in that 10 textboxes.0 -
to make things clear. look at the "Line no.".
instead of this
10000
20000
30000
40000
you want this
1
2
3
4
it depends on the Line. if the line is 6 then your rows is
10000
20000
30000
40000
50000
60000
and in your textbox rows will be
1
2
3
4
5
6
is this what you looking for?if so, this is what savatage trying to tell you. or in each line your doing sum calculation and put it on your added textbox(unbound) assuming this.
"line no" yourAddColumnTextbox
10000 20
20000 35
30000 3
if this is what you want you can create local function to calculate say each line or Item.
#-oSendoh
be smart before being a clever.0 -
vipinkuruvilla wrote:Hai Friends,
Can anyone tell me how to bind textbox dynamically in a tablebox?? The textbox number is equal to the number of records in the table. This should get binded row wise in a tablebox.
Appreciate your help......
Just learn how to use a sub form.
This is Navision, not Access. This is not the first time I have heard this request by the way.David Singleton0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions