Information générale
Catégorie:
Gestionnaire d'écran & Écrans
HI, Robert.
Sounds like you might want to have started a new thread, since David was (it seems to me) replying to this thread's topic of mailmerging.
For your situation, there have a lot of discussions on this topic. Cetin-among others- has posted lots of example code, so you might want to search the archives. Also, when you install Office, you have a choice of installing the VBA help files for the different Offices apps. I've found them to helpful--the only problem is that some of the VBA commands (I'm talking Word 8) in the help don't work in VFP 5.0, but they do (?) in 6.0.
Another good tool, is to record a macro in Word to do a task--like print a doc--and then view the code for it...
>Thank you very much. But not exactly what I am looking for.
>I want to:
>1. Be in Foxpro.
>2. Startup a user application that opens a database and allows the user to point to a record.
>3. Then on the press of a button. A Word document is created, some text and data from the database record is formated on the document, then the document is printed.
>4. I can and have done this fairly easily using Excel. I can't find an example of this using Word.
>
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement