Rajesh Karunakaran
Programmer
Hi,
I am using the below code to print 2 report one after the other. I made 2 FRX files only because the design is considerably different for 1st page and the rest and it was difficult to manage controlling in one FRX.
I downloaded the new version (2.99z) of FoxyPreviewer and copied in the application folder.
1. Now, even though I have set '_screen.oFoxyPreviewer.lSaveAsPDF = .t.', my preview toolbar 'Save Report' button shows only the 'Save as Image File' option. I am not getting the PDF save option. What setting (other required parameters, if any) I am missing here?
In the above code, if I just use "REPORT FORM rep_pg1 PREVIEW" without going through the Report Listener, I am getting all options in the Save File As button. But I will get only page 1. That's the problem.
2. So, other than using the Listener explicitly in my code, in FoxyPreviewer is there a way to print 2 frx files in succession, ie as if they were one ?
Thanks in advance,
Rajesh
I am using the below code to print 2 report one after the other. I made 2 FRX files only because the design is considerably different for 1st page and the rest and it was difficult to manage controlling in one FRX.
I downloaded the new version (2.99z) of FoxyPreviewer and copied in the application folder.
Code:
DO FoxyPreviewer.app && this may not be necessary here and I can set at application start.
_screen.oFoxyPreviewer.lSaveAsPDF = .t.
loListener = NEWOBJECT('_ReportListener', '_ReportListener.vcx')
loListener.ListenerType = 1
loListener.AddReport('rep_pg1.frx', 'noPageEject')
loListener.AddReport('rep_rest.frx')
loListener.RunReports()
DO FoxyPreviewer.app WITH 'Release' && this may not be necessary here and I can set at application start.
1. Now, even though I have set '_screen.oFoxyPreviewer.lSaveAsPDF = .t.', my preview toolbar 'Save Report' button shows only the 'Save as Image File' option. I am not getting the PDF save option. What setting (other required parameters, if any) I am missing here?
In the above code, if I just use "REPORT FORM rep_pg1 PREVIEW" without going through the Report Listener, I am getting all options in the Save File As button. But I will get only page 1. That's the problem.
2. So, other than using the Listener explicitly in my code, in FoxyPreviewer is there a way to print 2 frx files in succession, ie as if they were one ?
Thanks in advance,
Rajesh