Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seek Command
Message
From
15/09/2000 17:20:10
Rene Van Den Berg
Infertility Database Systems Ltd
Islington, United Kingdom
 
 
To
15/09/2000 17:14:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00417197
Message ID:
00417200
Views:
24
>I am having troubles. I have two character fields in a table. I have created an index called pcloc (PadR(field1 + " " + field2,24,' '). In code I use Select myTable, Seek(PadR(variable,24,' '). I feed the variable with aknown record value and I still get not found. What am I doing wrong?

Perhaps you need to use ALLTRIM (so ALLT(field1)+" "+ALLT(field2)). In any case, compare your pcloc expression with your padr(variable,24,'') and see if that's the same first before trying anything else.

René.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform