A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Empty fields



 
 
Thread Tools Display Modes
  #1  
Old May 24th, 2009, 02:27 PM posted to microsoft.public.word.mailmerge.fields
Christoph Kling[_2_]
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  
Old May 24th, 2009, 02:49 PM posted to microsoft.public.word.mailmerge.fields
Christoph Kling[_2_]
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  
Old May 24th, 2009, 06:48 PM posted to microsoft.public.word.mailmerge.fields
Peter Jamieson
external usenet poster
 
Posts: 4,550
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



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:23 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.