Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print title when no records to report
Message
De
26/01/2007 16:50:06
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
 
 
À
26/01/2007 05:12:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01189447
Message ID:
01189806
Vues:
9
Hi Terry, thanks for the reply.

>I assume you want to let the user know that there are no recs to print - hence blank report. To save wasting paper, once the print file has been generated (presumably from, say, and SQL statement), you could check whether the cursor is empty (using _TALLY) and if _Tally = 0 display a message that there's nowt to print.

In this case the user still wants the title information printed, then a message like "No records to report" if RECCOUNT()=0.

Regards,
Alan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform