>>I think you meant to say ALWAYS use SEEK() as a function as opposite to command.
>Nope,
>I don't know why but I ALWAYS prefer command with full syntax than function:
>Maybe because when I started to use VFP (5) the function not gives me the right results? I can't remember why, it was so long ago :-)
>
>SEEK Someting IN SomeAlias ORDER SomeOrder
>IF FOUND([SomeAlias])
> **
>ENDIF
>
>
>Maybe I should say "Always use ORDER clause when you use SEEK command" but it's too late :-)
We're using SEEK command (and FIND) only for quick tests in command window. In the code we always use SEEK() as a function. Less lines to type.
If it's not broken, fix it until it is.
My Blog