I apologize ahead of time if this question has already been addressed- I couldn't find anything relevant after doing a site search.
I am merging data from Access into a Word document. Opening a form calls code in the specified Module, and merges data from the form into bookmarked locations in the specified Word document.
The merge will not run properly is any of the fields are empty. What do I need to put in the code module to address this and allow a null value? It is only one database field that is causing the problem, so the solution can be focused on that field, rather than needing to address the possibility of a null value in any one of the merging fields.
I am not a coding wizard, so a simple explanation would be greatly appreciated. Thank you.
Lee
I am merging data from Access into a Word document. Opening a form calls code in the specified Module, and merges data from the form into bookmarked locations in the specified Word document.
The merge will not run properly is any of the fields are empty. What do I need to put in the code module to address this and allow a null value? It is only one database field that is causing the problem, so the solution can be focused on that field, rather than needing to address the possibility of a null value in any one of the merging fields.
I am not a coding wizard, so a simple explanation would be greatly appreciated. Thank you.
Lee