fionabolt
03-11-2010, 05:01 AM
I have a whole load of templates that obtain all of their field values via a database.
Everything worked fine until I added the following to the field in the footer:
{IF”{ STYLEREF “Doc title (Agency)”}” <>”Error*””{ STYLEREF “Doc title (Agency)”}”}
Now, if the template does not contain a paragraph with the style "Doc title (Agency)", then, on performing the mail merge, I get the error “A field calculation error occurred in record 1”
Any ideas why this field reference should cause a problem with mailmerge?
I found this link in MS http://support.microsoft.com/default.aspx?scid=kb;en-us;Q120278, however it (a) relates to Word 95 and 6 - I am using 2003 (11), and (b) the solution is to "refer to two files" . I assume they mean have two OpenDataSource files, but I cannot fathom out a method to have two OpenDataSource files.
Your help would be much appreciated.
Regards,
Everything worked fine until I added the following to the field in the footer:
{IF”{ STYLEREF “Doc title (Agency)”}” <>”Error*””{ STYLEREF “Doc title (Agency)”}”}
Now, if the template does not contain a paragraph with the style "Doc title (Agency)", then, on performing the mail merge, I get the error “A field calculation error occurred in record 1”
Any ideas why this field reference should cause a problem with mailmerge?
I found this link in MS http://support.microsoft.com/default.aspx?scid=kb;en-us;Q120278, however it (a) relates to Word 95 and 6 - I am using 2003 (11), and (b) the solution is to "refer to two files" . I assume they mean have two OpenDataSource files, but I cannot fathom out a method to have two OpenDataSource files.
Your help would be much appreciated.
Regards,