Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loose print que printing Word from VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Loose print que printing Word from VFP
Divers
Thread ID:
00549963
Message ID:
00549963
Vues:
41
I have what I would is a simple automation app the gets excel data into vfp table then merges data with word doc. I have to print 2 doc's. When I issue the following to print the document:

* print merged result
oMergedDocument.PrintOut(.T.,,,,,,,,,,.F.)
* give word enough time to process "print"
WAIT "" TIMEOUT 10
oWord.quit(0)
RELEASE ALL LIKE oWord,oCursor,oDocument,oMergedDocument
RETURN .T.

The app appears to have printed the first doc (i previe the print que and see the doc display and leave) but all I get is a 2 pages of garbage out of 20 and all of the 2nd doc print. Any ideas? Many thanks in advance, Chuck
Extreme Programming = Plan -> Design -> Code -> Test
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform