Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Displaying more than one report
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement