Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prefilter in SFReports
Message
 
À
17/01/2000 12:55:31
Jack Liebschutz
Black Mountain Software
Polson, Montana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00319074
Message ID:
00319206
Vues:
15
Hi Jack,

If this prefilter is used for custom reports all you have to do is put your additional filter criteria into the STDFilter field of the reports table. If you are wanting to force a standard filter for a specific table with quick reports - try subclassing the SFDataEngineVFP(if that's the data engine you are using). Working with your subclassed data engine in the CreateSqlSelect()- first start with a dodefault(), Second check the .oQuery.cSQLSelect property and see if it contains the specific table you are looking for. If your table exists, find the 'Where' clause and stuff your own custom filter just after the word 'Where'. You can find more information about the STDFilter and subclassing the SFDataEngine in the SFReports.chm file.

Hope this helps.
Yuanitta
Senior Consultant
Stonefield Systems Group Inc.
www.stonefield.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform