CREATE CURSOR test ( test c(10) ) INSERT INTO test VALUES ('Hello') * oF2W.UnitofMeasure='C' CREATE REPORT test from test go top do frx2wrd with "test", "test.doc"and it worked ok.
>CREATE CURSOR test ( test c(10) ) >INSERT INTO test VALUES ('Hello') >oF2W=NEWOBJECT("frx2word","msoexp") >oF2W.SaveFolder= 'c:\test' >oF2W.DOC_FileName= 'test.doc' >* oF2W.UnitofMeasure='C' >CREATE REPORT test from test >go top >nSuccess=oF2W.ReportForm( 'test.frx' ) >WAIT WINDOW TRANSFORM(nsuccess) >* Result: nSuccess = 0 >* test.doc has length 19456 bytes >* Hovewer, Word 97 shows that doc file is empty ! >