Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a blank report
Message
 
À
26/07/1999 19:40:07
Rena Glubay
Pacific Press Publishing Assoc
Nampa, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00246380
Message ID:
00246401
Vues:
16
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform