Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mail merge: trapping situation where no records to merge

Status
Not open for further replies.

Cads

Technical User
Jan 17, 2000
40
GB
Hi

Have set up a mail-merge using Access and Word 97 based upon MS Knowledgebase sheets Q159328 (Automation techniques) and Q199963 (Stopping another instance of Access using ODBC). All works fine when there are records to mail-merge. However, when there aren't any records I firstly get a MS Word message saying so but then I get an error message on returning to Access. Also the whole process tends to generate a 'fault protection' error in Word.

I'm trying to set up the mail-merge for others to use so I need to trap this 'zero record' situation efficently. Has anyone had any experience with this and so can provide me with a cool solution, please?

Steve House
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top