View Single Post
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
projectmergeleader projectmergeleader is offline
external usenet poster
 
Posts: 11
Default SQL errors in mail merge

I am doing a mail merge project that counts the number of instances of a
client in a table. When it trys to count the number of instances for a client
that is not present in the table then it does not produce the required
document. I guess this is because the sql command is throwing an error and
the document cannot handle it so it just skips the relevant invoice. Is there
any sort of try/catch statement that can be used within word?

Thanks

S