I am using this program that I downloaded from Universalthread.com that converts foxpro reports to word documents.
At first I was doing this:
oF2W=NEWOBJECT("frx2word","msoexp"
oF2W.SaveFolder="C:\testword\"
oF2W.DOC_FileName="Wordout.doc"
oF2W.ReportHome="C:\MyApp" && Optional (new to 1.5)
nSuccess=oF2W.ReportForm("TestRep"
This workd but not all the time. I get some errors when complex joins are used. Sometimes it cannot find the tables used.
Ramani suggested the following:
DO frx2wrd.app WITH myRptFile, myWordFile
I tried this, but I get an error saying frx2word.app not found.
Any ideas? Thanks
Also check: thread184-203925
At first I was doing this:
oF2W=NEWOBJECT("frx2word","msoexp"
oF2W.SaveFolder="C:\testword\"
oF2W.DOC_FileName="Wordout.doc"
oF2W.ReportHome="C:\MyApp" && Optional (new to 1.5)
nSuccess=oF2W.ReportForm("TestRep"
This workd but not all the time. I get some errors when complex joins are used. Sometimes it cannot find the tables used.
Ramani suggested the following:
DO frx2wrd.app WITH myRptFile, myWordFile
I tried this, but I get an error saying frx2word.app not found.
Any ideas? Thanks
Also check: thread184-203925