hi,
on the OnOpenForm trigger of a form based on Item table, I mark some records, per:
Item.MARK(TRUE);
At the end of the code I set the MARKEDONLY true, per:
Item.MARKEDONLY(TRUE);
But the Form shows me all the records existing in item table.
Does somebody knows what's wrong with my Form?
Thanks
Farshid
0
Comments
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
2. reset/clear is not used in code.
-sourcetable property of the form = Customer
-my code in onopenform:
in this case, you're filtering the wrong variable, you should use mark and markedonly on "Customer" variable(omittable, as it is the sourcetable).
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
surely sourcetable is always rec...
if you are in 5.0 or 5sp1 you can also use a "temporary" sourcetable
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog