IncludeInDataSet ft. Array
Troubles_In_Paradise
Member Posts: 588
I guys, I've one question for you. I'm upgrading a matrix form.
The number of columns depends on the number of records inserted in a custom table.
To manage this I created 2 arrays, one that contains captions for the columns and the other one that contains the values that will printed in the repeater. This works as a charm.
my problem is that I never use all elements of the arrays and the columns that correspond to unused array's elements must disappear.
To do this I create another array of boolean values in which I specify if the columns must be printed or not.
But here I'm blocked because system says me that I can't set the property IncludeinDataSet to yes if Dimension <> 0.
the only idea I have is to create one boolean variable for each columns... but I really don't like it...
Does anyone of you have a suggestion?
Many Thx..
The number of columns depends on the number of records inserted in a custom table.
To manage this I created 2 arrays, one that contains captions for the columns and the other one that contains the values that will printed in the repeater. This works as a charm.
my problem is that I never use all elements of the arrays and the columns that correspond to unused array's elements must disappear.
To do this I create another array of boolean values in which I specify if the columns must be printed or not.
But here I'm blocked because system says me that I can't set the property IncludeinDataSet to yes if Dimension <> 0.
the only idea I have is to create one boolean variable for each columns... but I really don't like it...
Does anyone of you have a suggestion?
Many Thx..
~Rik~
It works as expected... More or Less...
It works as expected... More or Less...
0
Answers
-
I saw that also standard "matrix pages" manage the visibility of the columns with N boolean variables.
I think it's the most obvious option and the only way to manage this.
Thx.~Rik~
It works as expected... More or Less...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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 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