General information
Category:
Reports & Report designer
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only