INDATASET in parameters
Belias
Member Posts: 2,998
I just noticed this thing today and i was wondering what does this thing mean:
1. i created some variables in a page, includeindataset = true
2. i copypasted the variables as local variables in a function in the underlying table
and here's how the name of the function looks like:
GetStatusEnabled(VAR CustDelOrdEnabled : Boolean INDATASET;........
if i recreate the variable manually, the indataset does not appear (obviously, because it is not used present in the variables of the tables).
I understood that the copy/paste have copied the indataset property, too, but i was wondering if it will be of some use or can create some bugs :-k (this is mere curiosity because by simply recreating the variable, the INDATASET disappears).
Have anyone already seen this?
Thanks in advance
1. i created some variables in a page, includeindataset = true
2. i copypasted the variables as local variables in a function in the underlying table
and here's how the name of the function looks like:
GetStatusEnabled(VAR CustDelOrdEnabled : Boolean INDATASET;........
if i recreate the variable manually, the indataset does not appear (obviously, because it is not used present in the variables of the tables).
I understood that the copy/paste have copied the indataset property, too, but i was wondering if it will be of some use or can create some bugs :-k (this is mere curiosity because by simply recreating the variable, the INDATASET disappears).
Have anyone already seen this?
Thanks in advance
0
Comments
-
Interesting "feature". I guess the IncludeInDataset is only for global use, so this option is hidden for local variables. Anyway the variable has this property, but we can't change it.
I don't see a reason to create a function parameter with IncludeInDataset option. Bugs... everything is possible
-Mihail- [MCTS]0 -
i was thinking to some tweak about dynamically hiding/showing controls in a page after the onopenpage trigger :whistle: (maybe, passing the values here and there with the includeindataset property, they are re-uploaded in the page), i'll give it a try but i don't think it will work :roll:mihail_kolev wrote:I don't see a reason to create a function parameter with IncludeInDataset option. Bugs... everything is possible
Indeed: it's better to not try it, i already "cleared" the variable definition, but it's annoying that that propertery is carried over, and i have to delete it... [-(mihail_kolev wrote:Bugs... everything is possible
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