Connect to View with Filter

H

hals left

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
 
C

Cindy M -WordMVP-

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.

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?

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 :)
 

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