Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird BUG in SEEK
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Vista
Network:
Windows 2008 Server
Database:
Visual FoxPro
Divers
Thread ID:
01350643
Message ID:
01350660
Vues:
45
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform