Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying more than one report
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Displaying more than one report
Divers
Thread ID:
01027047
Message ID:
01027047
Vues:
70
Hello. I'm having problems displaying more than one report in Foxpro 6.0. Each report is displaying data from a different cursor. The report window for the first report opens fine, but the second report window doesn't open. Below is the syntax i'm using. Any help would be greatly appreciated.

Brad

cPrintExp = "REPORT FORM prtaclaimsadjprt1det FOR " + ;
"CurPrint.nUnderPaymentCR > 0 OR " + ;
"CurPrint.nBadDebtAmtCR > 0 OR " + ;
"CurPrint.nMaBillAmountCR > 0 OR " + ;
"CurPrint.nMaIndigentCR > 0 NOCONSOLE "

cPrintExp2 = "REPORT FORM prtaclaimsadjprt2det FOR " + ;
"CurPrint.nUnderPaymentCR < 0 OR " + ;
"CurPrint.nBadDebtAmtCR < 0 OR " + ;
"CurPrint.nMaBillAmountCR < 0 OR " + ;
"CurPrint.nMaIndigentCR < 0 NOCONSOLE "

cPrintExp = cPrintExp+"PREVIEW "

cPrintExp2 = cPrintExp2+"PREVIEW "

*Calling the report via macro substitution.
SELECT CurPrint
GO TOP
&cPrintExp

SELECT CurPrint1
GO TOP
&cPrintExp2
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform