Computing.Net > Forums > Database > Access Query to Merge with Word Doc

Access Query to Merge with Word Doc

Reply to Message Icon

Original Message
Name: daniel520
Date: February 6, 2007 at 14:40:56 Pacific
Subject: Access Query to Merge with Word Doc
OS: Win2000
CPU/Ram: 2 GB
Model/Manufacturer: Custom Build
Comment:

Hello All,

I work as a programmer for a direct mail company.

Here is my problem:
I am developing a Access (.mdb) database for a company that we just mailed tax forms for to there customers. The company is asking for the data back in a format that they can look up customers by account and check the information that we mailed to them for verification and corrections. Hence why I decided on access and developed some forms and queries to dumb it down and make it user friendly. Easy... Now the customer has asked if we could also make a report for them that looks like the tax form we mailed for them so they can query a persons account and print a new form for them to mail.

My first thought is a form in access that queries the desired record then merges the records to a MS Word document.

I know how to merge and query a database from Word itself using Mail Merge...Easy

I know how to query the desired records from access...Easy

What I cannot figure out is how if possible I can from access query the records for print and export the data directly into a preformated Word Document (Template).

Did that make sense...?

Normally we use High End software for our Design Merging. But this is for a client.
And I have to stick strictly to there format, hense why I won't even try to recreate the Tax Form in Access as a report.

And this all has to be very user friendly, thus a solution of just a word document that they could then Mail Merge from would be to hard it all needs to be automated.

Thank You All


Report Offensive Message For Removal


Response Number 1
Name: daniel520
Date: February 6, 2007 at 14:45:24 Pacific
Subject: Access Query to Merge with Word Doc
Reply: (edit)

Follow up to my own post...

While Perl is what I use most, I do understand VBA pretty well. And assume this solution will be almost completly done in VBA. So don't hesitate to post some VB code examples.

Thanks Again.


Report Offensive Follow Up For Removal

Response Number 2
Name: seawatch
Date: February 6, 2007 at 17:00:47 Pacific
Subject: Access Query to Merge with Word Doc
Reply: (edit)

I'm sure some one with more experience than I will answer you, but I believe you have to set up a table in Word that matches the fields in the Access database.

Larry

Sometimes I think I understand everything, then I regain consciousness


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Access Query to Merge with Word Doc

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge