Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a blank report
Message
 
 
To
26/07/1999 19:40:07
Rena Glubay
Pacific Press Publishing Assoc
Nampa, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00246380
Message ID:
00246401
Views:
13
>Is there anyway I can force the title and column headers of my report to print even when there is no data to print?

Yes. If you detect that your report cursor is empty, create an empty cursor with all of the same field names and types then put one blank record in it. Here is some rough code.
Select this from that into cursor cReport

IF _TALLY = 0  && oh oh no data for report
  CREATE CURSOR cReport (junk c(1), foo n(2))
  APPEND BLANK
  SELECT cReport
ENDIF

REPORT FORM rRena NOCONSOLE TO PRINTER PROMPT
USE in cReport
Previous
Reply
Map
View

Click here to load this message in the networking platform