I am sending report output to HTML using a standard report listener. For some reports it works fine, but for others, it fails. (The reports work fine when sending output to screen or to print.)
One example of an error I'm receiving is: error 1 (file not found) in program PrepareFRXCopy. It's looking for a file (probably a temp file) with name 00001hqh0cgf.tmp.
If I tell VFP to ignore the error and continue, various other errors follow.
This is how I run the report:
LOCAL loRL
loRL = .NULL.
DO ("reportoutput.app") WITH 5, loRL
loRL.TargetFileName = lcMyFileName
loRL.QuietMode = .T.
REPORT FORM MyReportFile OBJECT loRL
I could SET STEP ON and see exactly where it's failing, but I'm hoping to avoid having to figure out the internals of the report listener if it's not necessary and I am hoping that someone else may have relevant experience.
It's possible that the reports that are failing are the ones with memo fields or features like expanding character fields.
TIA, Chaim