Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seek,Find
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00011202
Message ID:
00011257
Views:
32
>You didn't mention it so I will go with a basic
>
>seek (alltrim(variable))
>
>and set your index to alltrim(variable)

In Visual, you can pass SEEK extra parameters.

=SEEK(luVar, lcAlias, lcIndex)

For example:

lcCustID = 'FITZGERG'
IF SEEK(lcCustID, 'customer', 'cCustID')
WAIT WINDOW lcCustID + ' was found in ' + customer.cCity
ENDif
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform