Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This.Parent
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00396574
Message ID:
00396689
Views:
13
Milt,
PMFJI, but I beleive it has to do with the filter you are applying. Take a look at FILTER() just before the SEEK (throw a suspend in there). Filter conditions are tricky. More often than not, the exact phrase you type in is used as the filter condition. It is evaluated at the time of setting the filter and each time the table is accessed afterward. If THIS.Psavetable doesn't exist all the time (and in the case of running code within the button, it doesn't), VFP throws the error you are seeing.

Ex.
lcfilter = [']+EVALUATE(This.psavetable+".c_region")+[']
set filter to mailcode.c_region_id = &lcfilter

Use the ['], if your values are character based.

HTH.

< snipped >
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform