Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object in a LOCATE giving THISFORM error
Message
 
To
20/08/2008 16:56:21
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01340560
Message ID:
01340567
Views:
8
This message has been marked as the solution to the initial question of the thread.
Hi Jay,

>I'm getting an error that "THISFORM can only be used within a method" but oResponse is just an object created in a PRG. The PRG is called from a form.
>
>LOCATE FOR Covr.Pat_No = ALLTRIM(oResponse.SubID) AND Covr.CvPs = 'P'
>
Do you have a filter defined for the cursor? LOCATE would attempt to evaluate the filter in addition to the FOR clause.
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform