Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SEEK and LOCATE and UPPER and ALLTRIM
Message
From
13/01/2009 20:38:37
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SEEK and LOCATE and UPPER and ALLTRIM
Miscellaneous
Thread ID:
01373413
Message ID:
01373413
Views:
158
There is an index on TableFormProperties.TableName, but the date is in mixed case, so I can't do a SEEK (or can I?). I'm doing this in a LOCATE, but that seems a bit wrong somehow. Is this the right way to do it, or is there a better way.
lcTableName = "MyTableName"
SELECT TableFormProperties
LOCATE FOR ALLTRIM(UPPER(TableName) = ALLTRIM(UPPER(lcTableName))
Next
Reply
Map
View

Click here to load this message in the networking platform