Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tracking down filter cleared message
Message
From
21/01/2009 08:54:07
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
20/01/2009 15:31:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01375421
Message ID:
01375851
Views:
13
>>>You can use REPORT FORM FileName1 | ? [ENVIRONMENT] [Scope]
>>> [FOR lExpression1] [WHILE lExpression2] (provide your filter in FOR expression) or don't use local variables in FILTER condition or pre-select your data into the cursor (my favorite approach).
>>
>>Yeah, already selected into cursor and made that work. I'm to the point where I really hate the report writer. They wrote some cool stuff like the dynamics, but what we really could have used was some basic functionality improvements.
>
>You might also try using a PRIVATE variable in the routine that calls your report form. It won't go out of scope like the LOCAL will. I have several static variables passed to reports with this method.

Using PRIVATE in that way is every bit as bad as using PUBLIC variables. Macro sub is THE answer if he's going to use SET FILTER.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform