General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only