hello I get -91 return code on frx2word:
This is the code I use:
Report FORM invoice_c5 PREV && This works
&& This does not work.
oF2W=NEWOBJECT("frx2word","K1Class")
oF2W.SaveFolder="c:\motifw\Documents\"
oF2W.DOC_FileName=ALLTRIM(lcInvno)+"_InvoiceWord.doc"
nSuccess=oF2W.ReportForm("invoice_c5")
Messagebox(oF2W.DOC_FileName+"! Created", 48, "Export to Word")
wait str(nSuccess) window
Any hints? Thank you - Roger
One can acquire everything in solitude but character.
Stendhal (1783-1842)