View Single Post
 
Old 10-21-2018, 04:26 PM
travb81 travb81 is offline Windows 10 Office 2016
Novice
 
Join Date: Aug 2017
Posts: 11
travb81 is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Why not simply have the mailmerge main document connect directly to the database and apply whatever filtering you require within the mailmerge main document itself?
Hi Paul,

I did try this initially. The issue I ran into, was the sql statement was very long and complex. Using the OpenDataSource function, the SQLStatement and SQLStatement1 parameters seemed to not be large enough for this query.

Working with Access regularly, it was easy to establish a connection and recordset, and throw the data I need into a file. It doesn't change very often, so this disconnected data works very well.
Reply With Quote