Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filtering data in a report via the Report Form command
Message
From
09/08/2001 15:20:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Filtering data in a report via the Report Form command
Miscellaneous
Thread ID:
00541954
Message ID:
00541954
Views:
62
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
Next
Reply
Map
View

Click here to load this message in the networking platform