[mso] Re: Celebrate Success!

  • From: "Dian Chapman" <dian@xxxxxxxxxxxxx>
  • To: <mso@xxxxxxxxxxxxx>
  • Date: Thu, 31 Jul 2003 16:19:38 -0500

Well...this sounds like what I've been working on, continuously, since
yesterday!<g> (Yup...pushing 20?-30? hrs???).

You'll need to learn AutoForms, Word VBA and ADO.

Write a routine that starts your autoform, which, yes, contains your
boilerplate text. Then it connects to your DB and runs an SQL query to get
your RecordSet (RS). Then you write a loop that goes through the RS, pulling
out the parts you need, putting that data into the appropriate parts of the
letter, into form fields and/or bookmarks and then either save/print the
letter. Then run another query, if necessary and let 'er rip again!
(Humm...sounds like DejaVu all over again!<g>)

Dian Chapman
Technical Consultant
& Microsoft MVP

Free Word Tips & Tricks eBook: http://www.mousetrax.com/books.html
Free Tutorial site: http://www.mousetrax.com/techpage.html
Free Support Ezine: http://www.mousetrax.com/techtrax/
  


-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf
Of Glenda Wells
Sent: Thursday, July 31, 2003 12:58 PM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Celebrate Success!

Hi All.
 
I finally convinced the "Powers-That-Be" to allow me to fix the process for
generating letters.  AND, I've got 3 months to do it! ha, ha, ha, ha, ha,
ha, ha.  If they accept my plan, the problem with getting the list and
values (1 to many)  between Access and Word y'all have helped with will go
away.
 
Here's what I'm thinking and would like your advice on.
 
We have 300 +/- letters most of which have common elements.  I'd like to set
up some kind of process by which the letters get created on the fly
according to specific criteria.  I remember reading something about this
somewhere and the author called it "boilerplate" but I'm not sure.  The data
in question will be in Access.  Graphics and formatting will be involved so
I'm thinking Word will be the best tool for merging the records.
 
waddaya think? how can it be done? where do I need to start reading on how
to do this?
 
Thanks in advance and much appreciation for getting me this far.  It took a
HUGE chunk of nerve to even propose this solution and I wouldn't have done
it if y'all hadn't been so supportive.
 
/g
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx
with the word "unsubscribe" (without the quotes) in the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also
allow you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation
with instructions.  Once you are a member of the files group, you can go
here to upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: