Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Seek() ??
Message
 
 
To
02/06/1998 12:27:34
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00104059
Message ID:
00104109
Views:
39
Roberto,

SET EXACT and SET NEAR are scoped to the datasession of the form. Look at SET DATASESSION for a list of these. You probably have them set to non-default values under Tools/Options or in a config.fpw which is causing the difference in execution between command window and form.

>Im using a SEEK() for validate an event, but its not working properly. The index is compossed by two numeric expressions:
>
> STR(field1) + STR(field2)
>
>on the table, with only one record:
>
> FIELD1 FIELD2
> 1 11
>
>then, running the form, I look for STR(1)+STR(7) and VFP 5.0 says that he found it. Obviously the SET EXACT ON is on effect, and if I quit my application and do it by the command window, it work how it should!
>
>I imagine this is happening because a SET, but which?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform