Inserting Distinct Values in table at runtime
aman_mbs
Member Posts: 158
Dear All,
I have made a temp table that will be filled at the runtime i only want the record that r distinct to be filled in the table...
I have made a temp table that will be filled at the runtime i only want the record that r distinct to be filled in the table...
Aman Kumar Gupta
0
Comments
-
well set filters on the table.
temptable.setrange.(field1,'blah');
if temptable.findfirst then begin
temptable.field2 += 1212;
temptable.modify;
end else begin
temptable.field1 := 'blah';
temptable.insert;
end;0 -
Dear Sir,
Thanks For the reply....
According to my situation i have made a table containing 25 columns and this table is created when one of my report will run and i want when this report runs every column of the table to be filled with unique values at runtime. In this table there will be only one row.
Deep Regards,Aman Kumar Gupta0 -
Well in that case, you need a big case statement and fill each column. I don't know why you would need a table for that. You could create an array.0
-
Dear Sir,
Thanks a ton sir, I too solved my problem with Case Statement... i have tried this thing with arrays to but it dint work out..
Regards,Aman Kumar Gupta0 -
you are welcome. If you want to see how to use array. Post your case statement in here and I will translate it into an array.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
