Reply
 
Thread Tools Display Modes
  #1   Report Post  
Nucleo
 
Posts: n/a
Default Advanced Filter Won't Unfilter

Hi, using Mail merge to query a view on a MSSQL server. the advanced
filter works fine. Do the mail merge and no problem.

Back to the main merge document, i want to change the filter, but the
filtered data is still there, and i can only filter the filtered data
=S

To get back to showing all of the data, i have to re-open the
connection file to get the data back...

So, is there a way to make the filter un filter itself? without having
to re-open the connection?

Thanks

  #2   Report Post  
Peter Jamieson
 
Posts: n/a
Default

Yes, this is an irritating problem.

As far as I know, all you can do is
a. change the filter to one that includes everything (e.g. if you are
filtering on Country, Country '' might get you all the records back, but
there will still be a filter, which may for example affect performance or
result in records with null values being excluded.
b. go into the VBA Editor and, for example, use the Immediate Window to
set, for example

ActiveDocument.MailMerge.DataSource.QueryString = "SELECT * FROM
""tablename"""

However, that's probably harder than going through the connection process
again.

Peter Jamieson

"Nucleo" wrote in message
oups.com...
Hi, using Mail merge to query a view on a MSSQL server. the advanced
filter works fine. Do the mail merge and no problem.

Back to the main merge document, i want to change the filter, but the
filtered data is still there, and i can only filter the filtered data
=S

To get back to showing all of the data, i have to re-open the
connection file to get the data back...

So, is there a way to make the filter un filter itself? without having
to re-open the connection?

Thanks



  #3   Report Post  
Nucleo
 
Posts: n/a
Default

your probably right =)


i think i will stick with just re-opening the connection.

with any luck, the client will only use the mail merge doc, then close
it, then re-open later.

thanks for the heads up

Nuc

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
Need DXF filter for Office 2000, Word DanZTI Microsoft Word Help 5 April 28th 05 11:58 PM
I need information on Filter Keys. Margaret C Microsoft Word Help 1 April 12th 05 12:36 AM
How do I filter a Dbase date field in a word mail merge documnet? SMATKINS Mailmerge 0 January 27th 05 04:09 PM
The message filter indicated that the application is busy. [email protected] Mailmerge 0 January 11th 05 02:12 AM
How to filter out adreses from Outlook that don't have certian fie Jesse Mailmerge 1 December 24th 04 08:41 AM


All times are GMT +1. The time now is 07:12 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"