Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print icon prints all records (not filtered records)
Message
From
27/02/2001 01:32:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Print icon prints all records (not filtered records)
Miscellaneous
Thread ID:
00479916
Message ID:
00479916
Views:
44
I use to open tables/views in my form’s dataenvironment, filter records and run command REPORT FORM myreport PREVIEW. This way, I can preview my reports and print filtered records by clicking the print icon on the Print Preview Toolbar.

But now, I want to set up a more independent Report, it must open tables, filter records and make a print preview.

Where should I put the code to filter records? I have tried it in the Init Method but the print icon on the toolbar prints all records and ignores the filter expression.

I have also tried AutoCloseTables = .F., It works, but I want the tables to be closed when the report screen is closed.


Any ideas,

Thanks

Juan Carlos.
Next
Reply
Map
View

Click here to load this message in the networking platform