#1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Christoph Kling Christoph Kling is offline
external usenet poster
 
Posts: 2
Default Empty fields

Hello,

I have a MySQL ODBC data source which simply retrieves one column of a
table. If this column has the "latin1_swedish_ci" charset, everything works
fine. If I switch to "latin1_german1_ci" Word retrieves the correct number
of rows but each and every field is blank. The strange thing is, that if I
edit the data source via Microsoft Query even with "latin1_german1_ci"
charset everything is being displayed - only Word (2007) itself does not
show the text. Any ideas?

Regards
Christoph Kling


  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Christoph Kling Christoph Kling is offline
external usenet poster
 
Posts: 2
Default Empty fields

OK, update:

excel (2007) always displays the correct data no matter what collation (not
charset, sorry) is set.

Regards,
Christoph Kling



"Christoph Kling" schrieb im Newsbeitrag
...
Hello,

I have a MySQL ODBC data source which simply retrieves one column of a
table. If this column has the "latin1_swedish_ci" charset, everything
works fine. If I switch to "latin1_german1_ci" Word retrieves the correct
number of rows but each and every field is blank. The strange thing is,
that if I edit the data source via Microsoft Query even with
"latin1_german1_ci" charset everything is being displayed - only Word
(2007) itself does not show the text. Any ideas?

Regards
Christoph Kling



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Empty fields

I can't check here, now, but
a. "latin1_swedish_ci" is the /default/ collation
b. http://dev.mysql.com/doc/refman/5.1/...onnection.html
suggests that there may be various settings that might result in some
conversions when MySQL returns values to other applications
c. could using a non-default collation trigger such a conversion?
d. if the result of such a conversion was to provide any form of
Unicode encoding (UTF-8 or otherwise) then I am pretty sure that Word
would not see the resulting values via an ODBC interface. AFAIK this is
specifically a fault in either Word or in the wretched ODSO object that
Word relies on to get its data, which might just about explain why it
all looks OK in MS Query and Excel, but not Word.
e. Is there still a usable MySQL OLE DB provider? If so, it may be
worth trying that. But I had the impression that that was
"de-emphasised" a few years ago.

Peter Jamieson

http://tips.pjmsn.me.uk

Christoph Kling wrote:
OK, update:

excel (2007) always displays the correct data no matter what collation (not
charset, sorry) is set.

Regards,
Christoph Kling



"Christoph Kling" schrieb im Newsbeitrag
...
Hello,

I have a MySQL ODBC data source which simply retrieves one column of a
table. If this column has the "latin1_swedish_ci" charset, everything
works fine. If I switch to "latin1_german1_ci" Word retrieves the correct
number of rows but each and every field is blank. The strange thing is,
that if I edit the data source via Microsoft Query even with
"latin1_german1_ci" charset everything is being displayed - only Word
(2007) itself does not show the text. Any ideas?

Regards
Christoph Kling



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
Form: Leaving Empty Fields Empty Rosiewednesday Microsoft Word Help 3 June 11th 08 09:27 AM
Using if fields in mail merge to ignore empty fields Larry S. Mailmerge 9 August 15th 06 08:10 AM
Empty merge fields come over as 12:00:00 Pepper Mailmerge 1 May 4th 06 04:51 AM
empty date fields in access Alan Mailmerge 4 January 13th 05 12:57 AM
Empty Mail Merge Fields Meggan Microsoft Word Help 0 January 13th 05 12:43 AM


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