Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tracking down filter cleared message
Message
De
21/01/2009 08:54:07
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
20/01/2009 15:31:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01375421
Message ID:
01375851
Vues:
16
>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform