Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
REPORT FORM problem
Message
From
25/11/1998 01:35:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
REPORT FORM problem
Miscellaneous
Thread ID:
00161246
Message ID:
00161246
Views:
66
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
Next
Reply
Map
View

Click here to load this message in the networking platform