In the C/AL Symbol Menu you'll find in the second column Mark with a couple of functions.
If you select a function you can press F1 and you'll see a good help-file.
???
i don't understand...so i will tell you everything comes in my head about marks...
USER'S SIDE: you can put marks pressing CTRL+F1, then click on view, marked only to see only the marked fields.
DEVELOPER'S SIDE: use myrec.MARK(true) on a rec to do the same as CTRL+F1...then use myrec.MARKEDONLY(true) to see (and filter) only the marked records.
CLEARMARKS, RESET and CLEAR used with myrec, will toggle the marks
Am I missing something?
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso My Blog
Hi Tino..
I know that, I saw the help file, but nothin' useful.. All I need is, to view marked fields in my code.. So if any1 of you have such an experience, or any kinda ideas 'bout how to work this out, just help me..
well, well...maybe there is a misunderstanding...you really intend to view marked FIELDS??not RECORDS??
if you are saying fields, what do you mean for "marked fields"?
if you mean records, you have to mark rows in the table one by one, e.g. put myrec.mark(true) in a "repeat until next=0"loop or in an onaftergetrecord trigger.
then use myrec.markedonly(true) instruction which retrieves only marked fields
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso My Blog
Answers
markedonly, mark, clearmarks
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Attain Navision
If you select a function you can press F1 and you'll see a good help-file.
Tino Ruijs
Microsoft Dynamics NAV specialist
i don't understand...so i will tell you everything comes in my head about marks...
USER'S SIDE: you can put marks pressing CTRL+F1, then click on view, marked only to see only the marked fields.
DEVELOPER'S SIDE: use myrec.MARK(true) on a rec to do the same as CTRL+F1...then use myrec.MARKEDONLY(true) to see (and filter) only the marked records.
CLEARMARKS, RESET and CLEAR used with myrec, will toggle the marks
Am I missing something?
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
I know that, I saw the help file, but nothin' useful.. All I need is, to view marked fields in my code.. So if any1 of you have such an experience, or any kinda ideas 'bout how to work this out, just help me..
Attain Navision
if you are saying fields, what do you mean for "marked fields"?
if you mean records, you have to mark rows in the table one by one, e.g. put myrec.mark(true) in a "repeat until next=0"loop or in an onaftergetrecord trigger.
then use myrec.markedonly(true) instruction which retrieves only marked fields
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
basically... somewhere in the loop when you conditions are met, you do:
Then, when you want to work only with MARKEDONLY, you apply any other filters and you go for:
Dynamics NAV Enthusiast