INDATASET in parameters

BeliasBelias Member Posts: 2,998
edited 2011-03-21 in NAV Three Tier
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
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog

Comments

  • mihail_kolevmihail_kolev Member Posts: 379
    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 :lol:
    -Mihail- [MCTS]
  • BeliasBelias Member Posts: 2,998
    I don't see a reason to create a function parameter with IncludeInDataset option. Bugs... everything is possible :lol:
    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:
    Bugs... everything is possible :lol:
    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... [-(
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.