Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2007

Tip: Looking for answers? Try searching our database.

Using a View for a Datasource in a Word macro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cathy - 04 Apr 2007 22:26 GMT
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.
Signature

cathy

Doug Robbins - Word MVP - 05 Apr 2007 19:04 GMT
Show us the code that you are using.

Signature

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

>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
[quoted text clipped - 6 lines]
> that
> has a command button to activate the macro.  I am using Word 2002.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.