Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Force report to preview/print when NO DATA
Message
From
01/06/2004 09:35:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
01/06/2004 09:30:49
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00908850
Message ID:
00908882
Views:
10
>Hi Hilmar,
>
>I've 'solved' it by printing an alternate report with a single blank record when there is no input.
>
>Still a surprise that no records = no report.

If there is no data, I usually don't have any need to print - of course, I can understand that in certain circumstances, you may need to do so.

What did bother me is that either the preview or the printing "finished", without actually doing anything - and without informing the user. So I had to create a workaround for that (if _tally = 0, inform the user).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform