Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
K.C. Ho K.C. Ho is offline
external usenet poster
 
Posts: 1
Default merge query criteria error bugs !!!

I find a bug in office 2003,

When I am using Word 2003 to have a merging with Excel 2003,
I selected 2 criteria, "Date" = "0829", and "Eng_verison" is blank (or is
not equal "YES")

It is no problem after the filter runs, the little excel show perfect
information i need. The total no. of record is about 300 which is i wanted.

but when i press ok and wait the merging, the no. of record suddenly goes to
3000 and then i went back to check the filtering. Strange !! There are one
more criteria that "Eng_version" is blank ! which means two of the same
criteria !But it use a "OR" to link with my other criterias.

It is so annoying that my main job in company is to merging letters. It may
have to solve by upgrading by it is already office 2003. Could you please
give me some other ways first ?
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default merge query criteria error bugs !!!

You are correct that Word sometimes adds query criteria that should not be
there.

You may find that changing the way that Word connects to Excel is enough:
a. check Word Tools|Options|General|"Confirm conversions at open"
b. go through the process of connecting to your spreadsheet again
c. choose the DDE option when prompted.

In this case, you will be connected to the first sheet in the workbook, or
possibly the last sheet you had open.

This may be enough because Word uses your filter criteria to build an SQL
query, and it does this differently for different connection methods and
data sources.

Be aware that DDE is "deprecated" and ideally you would not have to use it.
Unfortunately, there are so many problems in this area that it is still
sometimes the best method to use.

Another approach would be to set up a VBA routine to do the connection, and
learn enough SQL to set up the criteria you want. Then you just change the
SQL and run the routine. I can go through that if you want.

Peter Jamieson

"K.C. Ho" K.C. wrote in message
...
I find a bug in office 2003,

When I am using Word 2003 to have a merging with Excel 2003,
I selected 2 criteria, "Date" = "0829", and "Eng_verison" is blank (or is
not equal "YES")

It is no problem after the filter runs, the little excel show perfect
information i need. The total no. of record is about 300 which is i
wanted.

but when i press ok and wait the merging, the no. of record suddenly goes
to
3000 and then i went back to check the filtering. Strange !! There are one
more criteria that "Eng_version" is blank ! which means two of the same
criteria !But it use a "OR" to link with my other criterias.

It is so annoying that my main job in company is to merging letters. It
may
have to solve by upgrading by it is already office 2003. Could you please
give me some other ways first ?



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
Mail merge using Access query problem NB Mailmerge 2 June 13th 06 04:52 PM
merge word with an access query with a like criteria Salli Mailmerge 1 December 1st 05 10:35 PM
Mail Merge Access to Word using a Query Winston Mailmerge 3 May 4th 05 09:17 PM
Can't Open Data Source (Query) where criteria is defined by functi l_stocky Mailmerge 5 January 21st 05 03:01 PM
mail merge and access query DaveAS Mailmerge 6 January 6th 05 06:33 PM


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