Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report not printing all records
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Report not printing all records
Divers
Thread ID:
00179706
Message ID:
00179706
Vues:
54
I have an updateable cursor that is used for printing a report based on a logical field being set to .T. in an updateable cursor. All I'm doing is this:

nAnswer = MESSAGEBOX(cMessageText, nDialogType, cMessageTitle)
DO CASE
CASE nAnswer = 6 &&YES
SELECT lcsearch &&this is the cursor
GO TOP
REPORT FORM listview.frx FOR lcsearch.selectit ;
TO PRINTER NOCONSOLE
CASE nAnswer = 7 &&NO
RETURN .F.
ENDCASE

If I use the PREVIEW command all of the records with the field
selectit set to .T. do show up in the report which is what I'm after, but if I use the TO PRINTER command only the first record that qualifies prints on the report.

Any assistance appreciated!

Thanks
John
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform