J
Jim Lin
Is it possible to find out what data source a Word template is pointed to
from VB6? We currently have groups of people we want to send letters to,
multiple types of letters we can send, and a single Access file (*.mdb) with
different views into the data (populated via a server call). Our current
(hack) error detection scheme is to go ahead and try to execute the mail
merge, then catch the error 5631* if the template is the wrong type for the
person's group.
I'd like to be able to ensure there is data for a particular view before
trying to do the mail merge, but need to find a way to figure out what view
the template is set to use. Is this possible?
Jim
* - Error 5631: Word could not merge the main document with the data source
because the data records were empty or no data records matched your query
options.
from VB6? We currently have groups of people we want to send letters to,
multiple types of letters we can send, and a single Access file (*.mdb) with
different views into the data (populated via a server call). Our current
(hack) error detection scheme is to go ahead and try to execute the mail
merge, then catch the error 5631* if the template is the wrong type for the
person's group.
I'd like to be able to ensure there is data for a particular view before
trying to do the mail merge, but need to find a way to figure out what view
the template is set to use. Is this possible?
Jim
* - Error 5631: Word could not merge the main document with the data source
because the data records were empty or no data records matched your query
options.