Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Frx2word creates empty doc
Message
From
30/10/2001 14:22:18
 
 
To
26/10/2001 15:51:29
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00573408
Message ID:
00575252
Views:
20
I have Word 97.

>if you have Word 2000, you can use frx2wrd utility from www.eqeus.com (or find frx2wrd in the downloads section). I tried this:
>
>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.
>
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform