Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
REPORT FORM problem
Message
De
25/11/1998 08:38:42
 
 
À
25/11/1998 01:35:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00161246
Message ID:
00161301
Vues:
19
>Huge problem with reports printing in VFP 5.0.
>I've done a report file with Report designer. Later I put
>
>REPORT FORM myform PREVIEW WHILE mycondition
>
>in my code. All OK. Preview screen is fine - records
>are shown according to WHILE condition. But when I
>press Print button (in report submenu) I see ALL records
>in printed report. As if command
>
>REPORT FORM myform TO PRINTER ALL
>
>was issued from inside VFP :(( My WHILE condition is
>ignored when sending report to printer. Though Preview
>screen shows me only WHILE'd records. It's very offensive,
>that conditions in REPORT FORM affects only preview screen,
>but doesn't affect printer output.
>The only solution I've found was to set condition before
>REPORT FORM command in code, i.e SET FILTERs or SET KEYs.
>In this case such filtering affects both Report preview
>and Report print. Any suggestions ?
>
>Sergey Rewa.
>reware@cafe.redcom.ru

You may better SELECT all records to cursor and use it in report form. Filter conditions in REPORT FORM command fails when you try to use both preview and print.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform