Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Frx2word creates empty doc
Message
 
 
À
25/10/2001 17:01:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00573408
Message ID:
00573932
Vues:
20
Hello,
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 !
>
Martin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform