Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Frx2word problem
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Frx2word problem
Miscellaneous
Thread ID:
00513848
Message ID:
00513848
Views:
70
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)
Next
Reply
Map
View

Click here to load this message in the networking platform