I want to create a web service in VFP that should allow you to
pass in the stylekey and reportkey and then print the report to PDF (using amyuni PDF writer). Then serve the report back to the client to show in the web browser or save or send to print.
Has anyone worked on such a project? If so do you have any advice.
Of course you cannot print in an OLEPUBLIC class. Which would be may big feature request! As evident in the following code.
DEFINE CLASS PDFService AS OLEPUBLIC
ReportFile=""
StyleKey=""
REPORT FORM this.ReportFile TO PRINTER
ENDDEFINE
I guess I could create a little EXE file that could run and create the report but I'm not sure if this is feasible either.
In addition I could make the WebService in .NET however 99% of the reports we have are done in VFP.
Any comments?
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