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:18:07
 
 
To
01/06/2004 08:35:07
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00908850
Message ID:
00908871
Views:
16
Hi
Assume that you base your report on one table.
select * from yrtable where .f. into cursor yrcursor readwrite
append blank
use in yrtable
use yrcursor as yrtable again
report form ...
Your table should have at least one field which must not be blank in order for the record to be valid. The report takes this field as an indicator whether to put blanks in place of data when printing/previewing.

All the best.
Kamil

>Report designer is an obscure tool to me, so apologies in advance...
>
>I have a simple report that is run from a modal prg-based form with private datasession.
>
>It may happen that there are no records to be printed. When that is the case I still want the report to preview and/or print (it is important for the user to know, and be able to file, the report for audit purposes even if all it has is headings and "end of report" on it).
>
>How can I do this?
>
>Thanks in advance
>Jim
A moment of silence is our cosmic reset button.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform