Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SEEK() not working properly?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00231440
Message ID:
00231446
Views:
9
>I have a weird situation. When I issue a SEEK() on a table, it finds a matching record just fine but it's returning .F. as a return value.
>
>IF SEEK(lcSeekVal,"Mytable","MyTag")
> ? "Record found"
>ELSE
> ? "Record not found"
>ENDIF
>
>IOW, the record pointer on the table is moved to a matching record but the SEEK() fuction is returning .F. saying it didn't find the record. Why?

John,

This will happen if you have;

SET NEAR ON

it can occur with SET EXACT ON or OFF depending on the value of lcSeekVal.
Previous
Reply
Map
View

Click here to load this message in the networking platform