473,396 Members | 2,016 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Mail Merge from Access Limits & Workarounds

Hi folks,

Please forgive me - this straddles Access & Word '97
If I could, I'd send a (approx 1000 records) recordset to Word, mailmerge
it & save the new document.

However, Word's mailmerge process stops at around 400 records (I've only
sent it a handful of fields for testing). My current method involves a saved
..doc with its datasource saved as my Access query. Thro' Access VBA I:

open the .doc, then,
mailmerge.Execute
Save my new doc
close the docs

stare expectantly at my monitor, then despair at my incomplete (though
saved) document.

Can anyone help me with (a) a better way to programatically merge a
recordset into Word or (b) give me some feedback on whether I'm asking too
much from Word(?)

I'm thinking of restricting my query to the Top 200 records & using a '>
intID' paramter in the query itself. After finding the TOTAL number of
records, I can divide thisd number by say, 200, & then determine how many
times I need to run the query. If I grab the ID (autonumber) after each call
to the query and pass this value to intID, I should be able to get the next
200 records and so on...

Is this a sensible approach?

All suggestions are welcome.

Paul.
Nov 13 '05 #1
1 1854
Paul Wagstaff wrote:
Hi folks,

Please forgive me - this straddles Access & Word '97
If I could, I'd send a (approx 1000 records) recordset to Word, mailmerge
it & save the new document.

However, Word's mailmerge process stops at around 400 records (I've only
sent it a handful of fields for testing). My current method involves a saved
.doc with its datasource saved as my Access query. Thro' Access VBA I:

open the .doc, then,
mailmerge.Execute
Save my new doc
close the docs

stare expectantly at my monitor, then despair at my incomplete (though
saved) document.

Can anyone help me with (a) a better way to programatically merge a
recordset into Word or (b) give me some feedback on whether I'm asking too
much from Word(?)

I'm thinking of restricting my query to the Top 200 records & using a '>
intID' paramter in the query itself. After finding the TOTAL number of
records, I can divide thisd number by say, 200, & then determine how many
times I need to run the query. If I grab the ID (autonumber) after each call
to the query and pass this value to intID, I should be able to get the next
200 records and so on...


I'm not aware of any mail merge limit, but I'm far from an expert in the
field. Fortunately, I can refer you to Albert D Kallal's website, 'cuz
he is. Having used a portion of what he has, I do believe you'll like
the results.

http://www.members.shaw.ca/AlbertKal...rge/page2.html
Darryl Kerkeslager
Power corrupts.
Absolute power corrupts absolutely.
Knowledge is power.
Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: antonovaCCCS | last post by:
In our old VB 6 application we utilize a mail merge feature of Word 97 with MS Access. A table in Access is populated from VB and a Word template is wired to that table. So all we do in the code is...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
8
by: Squirrel | last post by:
Hi everyone, I've created a mail merge Word doc. (using Office XP) , the data source is an Access query. Functionality I'm attempting to set up is: User sets a boolean field to true for...
9
by: Neil Ginsberg | last post by:
I have a strange situation using Access to automate a Word mail merge. Using Access 2000 and Word 2000, the code opens Word, opens the document in Word, sets a table in the calling Access...
3
by: Andy Davis | last post by:
I have set up a mail merge document in Word 2003 which gets its data from my Access 2000 database. I want to set up a button on a form that: 1. runs the query to provide the dat for the merge...
4
by: pmhaupt2 | last post by:
I developed an Access 2003 program that will allow the user to produce a group of Word letters that merge with data records from an Access database. I created a mail merge Word document and...
0
by: Phil C. | last post by:
Hi, I'm using Access 2000. I have a Select Query that uses the MID function to separate the actual text of articles from the title of the articles. The articles are enterd into the...
8
by: Ron B | last post by:
Help!!! What am I doing wrong? I am working with Office 2003 and am trying to create a command button on an Access form that will create a mail merge in Word from an Access table. I want to...
1
by: mr k | last post by:
Hi, I wanted to use mail merge with forms but Text form fields are not retained during mail merge in Word, I got the code from Microsoft but it doesn't remember the text form field options such as...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.