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