Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quick Transfer of Losts of VFP Data to Word Table?
Message
De
12/10/2001 09:48:33
 
 
À
11/10/2001 17:58:45
Isabel Cabanne
Hubbard Woods Software, Inc.
Winnetka, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00567281
Message ID:
00567540
Vues:
21
>Do you have a quick way of transferring lots of data from VFP into Word tables? I have tried a cell by cell approach but it takes an unacceptable amount of time. I need a generic routine that does not require knowing the table layout, and allows any ordinary data type. Delimited files don't work either, as VFP adds quotation marks around character data and Word does not strip them out. Can XML be used in any way?

Try writing the data out to a text file with:

COPY TO TYPE DELIMITED WITH " " WITH CHARACTER " "

I just tested and that works in VFP 7, giving a file with the data lined up and no commas or quotes. If that doesn't work, try some variations.

Once you get the data into Word, you can convert text to table.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform