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

Click here to load this message in the networking platform