Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seek Command
Message
From
15/09/2000 17:24:44
 
 
To
15/09/2000 17:14:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00417197
Message ID:
00417202
Views:
16
>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?

You need to specify seek key exactly, like following:
Seek(PadR(variable,24,' ', myTable, 'pcloc')
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform