View Single Post
  #3   Report Post  
Cindy M -WordMVP-
 
Posts: n/a
Default

Hi ?B?R2VsYXRpbm91c19CbG9i?=,

I am attempting to filter records from a View in an SQL Server database using
the Mail Merge Recipients window in Word 2002 (SP3). I am attempting to
filter on a date range (e.g. registration_date 01/08/2004).

None of the query options get applied - instead Word returns all records in
the table. Is anyone aware of a work around? Is this a known issue with Word
2002? Or am I overlooking something obvious?

01/08 as in month/day, or day/month (American or European data format)?

You should be able to go through the "Advanced" selection in a Recipients
dropdown list, select the data field under the "Filter" tab of the Query
Options, then specify a date. As I recall SQL Server requires dates be specified
in American date format (mm/dd/yyyy); but I could be misremembering. If that's
the case, then try yyyy-mm-dd. You do need to specify the year.

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