I know that we have to give FindFirst instead of Find('-') for optimisation purpose but actually whats is the difference between Find('-') and FindFirst. I fanyvody know the difference,Kindly reply.
I know that we have to give FindFirst instead of Find('-') for optimisation purpose
But this is only part of the truth. Only if you are not iterating the records this is true. But if you want to use .NEXT on the record, use FINDSET or FIND('-') and NOT FINDFIRST or FINDLAST! Just search this forum for more info...
Comments
You can find bellow code covarage Test
SQL with FIND('-')
SQL with FINDFIRST
I m a Consult
E-Mail: ibrahim@imaconsult.com
My BLOG
But this is only part of the truth. Only if you are not iterating the records this is true. But if you want to use .NEXT on the record, use FINDSET or FIND('-') and NOT FINDFIRST or FINDLAST! Just search this forum for more info...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!