[FIND] There are difference with this 2 syntax styles?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

The first statement will

The first statement will look for the first record that matches your criteria and give you the result.
The second statement will find the same first record but will verify that it is the only one that matches the criteria. If a FOR EACH would result in more than one record returned, than a FIND FIRST will work while a FIND (wihtout FIRST) will give you an error.


Matrixbob's picture

The second statement can

The second statement can cause a error or it go to end always without error msg?

I understand the error for the FIND without FIRST, but i don't understand what consequences can do the verify of the second statemant ... :(