Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange Occurance with Seek
Message
 
To
25/10/2002 14:02:29
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00715466
Message ID:
00715612
Views:
21
>I don't follow your logic. The key field is padl(table.fieldname,6) so to do a seek on this I have to put the string I am seeking on in the same format, i.e. a string that is padded on the left with spaces to be 6 chars long. I may have missed something, if so, please let me know. Thanks.

lets say you have a 6 character key field. I'll use "b" for the bkanks.

if you set exact on,
seek "XXX" wil not find key "XXXbbb"
however, if you set exact off
seek "XXX" will find key "XXXbbb"

Does this help?
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform