Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filtering data in a report via the Report Form command
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Filtering data in a report via the Report Form command
Divers
Thread ID:
00541954
Message ID:
00541954
Vues:
58
I would like to know how to filter data in a report. I have used the follwoing syntax to call the report from within my program:

REPORT FORM MyReport TO PRINT

I read that you can use this command to send a filter to the report. How do I do this? And how do I tell the report to expect the filter for a particular field? If I add the following to the report command "FOR status_val = 'Y' ", what do I need to change or add in the report so that it will filter the data for the value I sent? Does this field name have to be a field on the report?

Can you send values throught to the report that don't affect the data? For example a different name for the report depending on the filter criteria. How do I pick this up in the report.

Thanx
Stuart
Stuart Reid

True nobility lies not in being superior to another man, but in being superior to one’s previous self
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform