Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
REPORT FORM problem
Message
From
25/11/1998 08:38:42
 
 
To
25/11/1998 01:35:10
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00161246
Message ID:
00161301
Views:
18
>Huge problem with reports printing in VFP 5.0.
>I've done a report file with Report designer. Later I put
>
>REPORT FORM myform PREVIEW WHILE mycondition
>
>in my code. All OK. Preview screen is fine - records
>are shown according to WHILE condition. But when I
>press Print button (in report submenu) I see ALL records
>in printed report. As if command
>
>REPORT FORM myform TO PRINTER ALL
>
>was issued from inside VFP :(( My WHILE condition is
>ignored when sending report to printer. Though Preview
>screen shows me only WHILE'd records. It's very offensive,
>that conditions in REPORT FORM affects only preview screen,
>but doesn't affect printer output.
>The only solution I've found was to set condition before
>REPORT FORM command in code, i.e SET FILTERs or SET KEYs.
>In this case such filtering affects both Report preview
>and Report print. Any suggestions ?
>
>Sergey Rewa.
>reware@cafe.redcom.ru

You may better SELECT all records to cursor and use it in report form. Filter conditions in REPORT FORM command fails when you try to use both preview and print.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform