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 / Mailmerge and Fax / August 2005

Tip: Looking for answers? Try searching our database.

Connect to View with Filter

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
hals left - 12 Aug 2005 17:18 GMT
Is there any way to connect to a view with a pre-defined fileter.

I have a table users and a table customers, with no relationship. I
have x-joined joined these to make a view CustomerLetters for users to
create personalised letters to customers. This view contains every user
with every customer - a lot of records.

When the user connects to mailmerge they have to filter recipients by
user to just select themself, then filter by customer for the account
they want, then run the mail merge on a single record.

Is there any way to automate the first part by passing the user id to
the view before bringing the full list of recipients onto the client?

Thanks
hals_left
Cindy M  -WordMVP- - 13 Aug 2005 11:05 GMT
Hi Hals,

Using VBA, you should be able to set the QueryString property to filter
the data the user sees.

> Is there any way to connect to a view with a pre-defined fileter.
>  
[quoted text clipped - 9 lines]
> Is there any way to automate the first part by passing the user id to
> the view before bringing the full list of recipients onto the client?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
 
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.