Hi there,
I'm fairly new to NAV (4.0 SP3) and I came across this snippet of code in codeunit 333:
IF NOT FIND('=><') THEN ...
What does this do? Is it to test if a recordset is empty? I don't quite get it. Hopefully someone can shine some light on this!
Best regards,
George
0
Comments
So, yes, with the NOT combined the condition evaluates to TRUE when the recordset is empty.
Never stop learning
Van Vugt's dynamiXs
Dutch Dynamics Community
Thanks Luc. What's the advantage of the above construction compared to an ISEMPTY?
Here is a wiki entry about it:
http://wiki.dynamicsbook.com/index.php?title=Find_any_record_in_a_record_set_in_Dynamics_NAV