Reply
 
Thread Tools Display Modes
  #1   Report Post  
hals left
 
Posts: n/a
Default Connect to View with Filter

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

  #2   Report Post  
Cindy M -WordMVP-
 
Posts: n/a
Default

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

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading Layout View Problematic as Default Word Attachment View D. Turnipseed Page Layout 4 January 5th 06 02:06 PM
thumbnail page view urbanista Microsoft Word Help 6 August 26th 05 10:36 PM
Advanced Filter Won't Unfilter Nucleo Mailmerge 2 August 2nd 05 10:41 AM
Everything disappears in Normal view JulieHR Page Layout 3 July 13th 05 10:58 PM
Word 2003: track changes opens in final view instead of final sho. JenniferLee Microsoft Word Help 2 April 19th 05 06:25 PM


All times are GMT +1. The time now is 03:04 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"