Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying more than one report
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Displaying more than one report
Miscellaneous
Thread ID:
01027047
Message ID:
01027047
Views:
72
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
Map
View

Click here to load this message in the networking platform