Well it seems to be working now, so thanks for your help it was the DDE. You
are the best!
> I am trying to do a mail merge with the task pane or the mail merge tool bar.
> Sample Data from excel spreadsheet:
[quoted text clipped - 24 lines]
> have a user that this is happening to, and I was able to repeat it on my
> machine with this made up data. Any ideas?
Curious. I was just having a further look on both Word 200 and Word 2003. On
both, I found I had to add single quotes aroung the 06 when specifying the
filter condition with a DDE connection.
Trouble is that you really want the comparision to be a text comparison, and
that depends on whether Word recognises that the column in question is a
text column or a numeric column (and that's a long story). I tried
formatting as text and using a custom format of 00000, but in either case
when you connect using OLEDB I would expect Word to decide that the column
is actually numeric, at which point specifying a condition like Greater than
06 won't work how you intend it to anyway (it will just select every row
with a Casenumber greater than number 6, which will be everything except
numbers 00001, 00002, 00003, 00004, 00005, 00006). Perhaps that was what was
actually wrong before, but I had the impression that the only "05" record
retained was the first one.
Anyway, it sounds as if the problem is solved, for now!
Peter Jamieson
> Well it seems to be working now, so thanks for your help it was the DDE.
> You
[quoted text clipped - 34 lines]
>> have a user that this is happening to, and I was able to repeat it on my
>> machine with this made up data. Any ideas?
C2Ranches - 10 Aug 2006 22:06 GMT
My 06 issue was exactly that. I need to do 06000 - the three 000 are the case
number, the 06 is the year. But the issue of it all ways no matter what the
query stated putting the 05 ID first was solved with DDE. It also fixed some
other issues that the user was having with the database and querys. So does
2003 interpret excel different? or did 2000 always ask you what format you
want and this is now an option in 2003?
Anyway thats so much for your help Peter!
> Curious. I was just having a further look on both Word 200 and Word 2003. On
> both, I found I had to add single quotes aroung the 06 when specifying the
[quoted text clipped - 54 lines]
> >> have a user that this is happening to, and I was able to repeat it on my
> >> machine with this made up data. Any ideas?
Peter Jamieson - 10 Aug 2006 23:40 GMT
> So does
> 2003 interpret excel different? or did 2000 always ask you what format you
> want and this is now an option in 2003?
2000 lets you get data from Excel using
a. DDE
b. a text converter
c. ODBC
Each has different characteristics, e.g. to use DDE you had to have a copy
of Excel on the same system, the converter always asks questions when you
use it, ODBC tends to get the "underlying" data, and so on.
The default was DDE.
2003 lets you get data from Excel using
a. DDE
b. ODBC
c. OLEDB
The default is OLEDB.
Each has different characteristics, even though ODBC and OLEDB are based on
the same mechanism for getting data from Excel. The converter is no longer
provided although if you had it on Word 2000 and upgraded it may still be on
your system and it can still be had if you really need it.
Peter Jamieson
> My 06 issue was exactly that. I need to do 06000 - the three 000 are the
> case
[quoted text clipped - 82 lines]
>> >> my
>> >> machine with this made up data. Any ideas?