Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seek
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Seek
Miscellaneous
Thread ID:
00895885
Message ID:
00901477
Views:
29
You guys know that "LOCATE" without arguments gets you back to BOF faster than Go Top (look it up in Help on Locate)?

Terry

>Hi Alex,
>
>Thanks for the comments,
>The reason why I issue a "go top" is base on my previous codes, I cannot seek records when I issue set order to tag "TAGName" (not in the datasession) without issueing go top.
>Please do correct any unnecessary commands on my code below..
>
>This is coded under valid procedure of my form...
>xcust_id = alltrim(this.value)
>If thisform.txtcust_id.value != " " .and. lastkey() = 13
>set exact on
>Select("ffcust")
>Set order to tag custid
>*Go Top
>Seek(xcust_id)
>If found()
>lget = .f.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform