Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Frx2word creates empty doc
Message
From
25/10/2001 17:01:57
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Frx2word creates empty doc
Miscellaneous
Thread ID:
00573408
Message ID:
00573408
Views:
50
I am using VFP 7 in win98 and Word 97.

I try to use frx2word class downloadad from UT a week ago.
However, the doc file opened in word 97 is empty. Why ?
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 !
Andrus
Next
Reply
Map
View

Click here to load this message in the networking platform