Using a View for a Datasource in a Word macro

C

Cathy

I am printing different templates out for a mailing and have had to switch
from Access to a PSQL View. The template works fine as long as the view is
populated, but if it is empty, then the macro stops. I am trying to find
some code to put in the macro so that I can query the View to see if it's
empty. If it is, then the code will go to the next template. Any thoughts
on if this can be done? I am doing all of this through a Word document that
has a command button to activate the macro. I am using Word 2002.
 
D

Doug Robbins - Word MVP

Show us the code that you are using.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top