Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is something wrong with this SEEK?
Message
From
27/12/2006 15:02:54
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01180555
Message ID:
01180557
Views:
18
>>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform