thegame8311
Technical User
For some reason unknown to me, when I add the frx2word class to my project to process a report it does not do it. It returns -200 as the nVal and when i click the button to run it ti opens a file browser window, but I have no idea what it is looking for, see code below:
Code:
oFW = NEWOBJECT("frx2word","msoexp")
oFW.SaveFolder = "C:\"
oFW.DOC_FileName = "MyDoc"
nVal = oFW.ReportForm("testrpt")
MESSAGEBOX(nVal)