Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending the results of a query to ms word
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00059158
Message ID:
00059176
Vues:
27
>how can i send the results of a query to ms word ?
>
>please send code for easier unrstanding
>
>thanks
>mike peizate
Mike,

Try something like this, although the exact code may vary according to the version of Word you are using;

oWord = CreateObject("Word.Basic")
SELECT * From Whatever INTO CURSOR Temp
SCAN
oWord.Insert(Field1 + " " +Field2 + " " + ... + CHR(130+CHR(10))
ENDSCAN
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform