Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is something wrong with this SEEK?
Message
De
27/12/2006 15:02:54
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01180555
Message ID:
01180557
Vues:
19
>>Hello all.
>>One of my co-worker saw one of my SEEK() statement and made a "big" deal that I shouldn't do it this way, but he wouldn't say why except to say that "it's not our standard"...
>>
>>What is wrong With
>>
>>IF SEEK(MyValue, "MyTable", "MyIndexTag")
>>   ...
>>ENDIF
>>
>>?
>>
>>Is there a reason why I should use this?
>
>There is nothing wrong here and I think this syntax is better for documenting purposes.

Yes you're right.
Tho the reason I do it this way is so I don't have to worry about SET ORDER TO and it doesn't matter what the current order is set to.
The American Republic will endure, until politicians realize they can bribe the people with their own money.
- Alexis de Tocqueville

No man’s life, liberty, or property is safe while the legislature is in session.
– Mark Twain (1866)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform