I allow the user to preview or print the reports, and the program controls wich records are included in the report through the REST, WHILE, NEXT... clauses of the REPORT command.
i.e.: report form myrep preview next 1.
But, if the user is in the preview window and clicks over the print button that appears, the report is sent to the printer without the scope clauses, and prints ALL the records.
Is there any way to control the scope clauses, or must I sent the records to a temp file before previewing?.
TIA.
There´s a better life... Just it´s more expensive!
Cristóbal Manrique M.