Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object in a LOCATE giving THISFORM error
Message
 
 
To
20/08/2008 18:00:24
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:
01340596
Views:
8
>Ok, I did find an active filter on that table that used THISFORM. A coworker suggested, because we can't change the filter expression right now, that I use the table with the AGAIN clause. Does this seem reasonable?

FILTER expression should never use THISFORM in it. You need to set your filter expression though macro, e.g.

lcFilter = "myField = " + thisform.SomeProp

set filter to &lcFilter
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform