L
lucas.bowser
I have an application that is doing a mailmerge via OLE automation.
Seems to be very standard. The general process is
1) create the data file.
2) open the document for mail merge.
3) attach data source
4) merge it
However, it will fail every time when I have a data source file that
appears to be too big (at least that is my guess at this time), and the
data file is really not all that big. The document that is being
merged has one field
{ INCLUDETEXT "{MERGEFIELD 1}" }
Which is used to select what document will be inserted into the mail
merge. (Each data file may contain multiple document templates that
must be used).
If I have 50 records in the data file, the process will fail every
time. If I have 25, it will never fail. Other information that may be
relevant.
1) I am working with Word 2003
2) There is an image in the documents that is being inserted (it is a
static image, not linked)
3) Also when the failure occurs, it does not return an error to the
OLE automation server. I do not know that the failure/crash has
occured until I go to unlink the fields, and it fails with an RPC
error.
Any help at all would be appreciated.
TIA,
Lucas J. Bowser
Seems to be very standard. The general process is
1) create the data file.
2) open the document for mail merge.
3) attach data source
4) merge it
However, it will fail every time when I have a data source file that
appears to be too big (at least that is my guess at this time), and the
data file is really not all that big. The document that is being
merged has one field
{ INCLUDETEXT "{MERGEFIELD 1}" }
Which is used to select what document will be inserted into the mail
merge. (Each data file may contain multiple document templates that
must be used).
If I have 50 records in the data file, the process will fail every
time. If I have 25, it will never fail. Other information that may be
relevant.
1) I am working with Word 2003
2) There is an image in the documents that is being inserted (it is a
static image, not linked)
3) Also when the failure occurs, it does not return an error to the
OLE automation server. I do not know that the failure/crash has
occured until I go to unlink the fields, and it fails with an RPC
error.
Any help at all would be appreciated.
TIA,
Lucas J. Bowser