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  

Apostrophe Creating a Merge Problem



 
 
Thread Tools Display Modes
  #1  
Old April 18th, 2005, 02:31 PM
Doug Robbins
external usenet poster
 
Posts: n/a
Default Apostrophe Creating a Merge Problem

Gordon,

Have you checked the box against the "Confirm conversions at open" item
under ToolsOptionsGeneral?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
"G.G. Biggar, Jr." wrote in message
...
Sir Douglas --

I'm not sure that I know what you mean when you say "attach the data
source...select(ing) the DDE method..."

If I use a blank space in the name field of the Excel file (in place of an
apostrophe), there is no problem in creating a match-up during the merge.
I
think that the software doesn't like my single-quote in that it is looking
for another closing quote, so to speak.

Gordon



"Doug Robbins" wrote in message
...
Hi Gordon,

In Word, select Options for the Tools menu and then on the General Tab,
check the "Confirm conversions at open" item and then when you attach the
data source to the mailmerge main document, select the DDE method of
connection and see if that overcomes the problem.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
"G.G. Biggar, Jr." wrote in message
...
I have an Excel data file that I use as a master list for merges.
Recently,
I added a last name with an apostrophe (e.g., O'Donnell). Word comes

back
during a merge with the message, "Word could not parse your query

options
into a valid SQL string."

I can get around this by omitting the apostrophe in the master list,
but
it
does not seem very professional. Is there an alternative?

Thanks in advance for any assistance.

Gordon Biggar
Houston, Texas









  #2  
Old April 21st, 2005, 04:56 AM
G.G. Biggar, Jr.
external usenet poster
 
Posts: n/a
Default

Sir Douglas --

Been on the road for the last week, so I did not see your post until this
evening.

Yes, the appropriate box was checked.

Could the problem have something to do with different interpretations of an
apostrophe by Word (the merge document) and Excel (the data file source)?

Gordon


"Doug Robbins" wrote in message
...
Gordon,

Have you checked the box against the "Confirm conversions at open" item
under ToolsOptionsGeneral?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
"G.G. Biggar, Jr." wrote in message
...
Sir Douglas --

I'm not sure that I know what you mean when you say "attach the data
source...select(ing) the DDE method..."

If I use a blank space in the name field of the Excel file (in place of

an
apostrophe), there is no problem in creating a match-up during the

merge.
I
think that the software doesn't like my single-quote in that it is

looking
for another closing quote, so to speak.

Gordon



"Doug Robbins" wrote in message
...
Hi Gordon,

In Word, select Options for the Tools menu and then on the General Tab,
check the "Confirm conversions at open" item and then when you attach

the
data source to the mailmerge main document, select the DDE method of
connection and see if that overcomes the problem.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
"G.G. Biggar, Jr." wrote in message
...
I have an Excel data file that I use as a master list for merges.
Recently,
I added a last name with an apostrophe (e.g., O'Donnell). Word comes

back
during a merge with the message, "Word could not parse your query

options
into a valid SQL string."

I can get around this by omitting the apostrophe in the master list,
but
it
does not seem very professional. Is there an alternative?

Thanks in advance for any assistance.

Gordon Biggar
Houston, Texas











  #3  
Old April 21st, 2005, 09:25 AM
Peter Jamieson
external usenet poster
 
Posts: n/a
Default

I don't get this particular problem no matter how I connect to the Excel
sheet. But there is certainly the potential for a clash, in that Word
generates an SQL statement to get the data, and single quote is used in SQL
(at least the way Word does it) to quote text values, e.g.

SELECT * FROM mydata WHERE surname = 'Smith'

However, for this to cause problems you would really have to be specifiying
"O'Donnell" - or whatever - as a filter criterion, in whch case Word would
probably not generate valid SQL:

SELECT * FROM mydata WHERE surname = 'O'Donnell'

It seems unlikely but maybe you are doing something like that?

Peter Jamieson


"G.G. Biggar, Jr." wrote in message
...
Sir Douglas --

Been on the road for the last week, so I did not see your post until this
evening.

Yes, the appropriate box was checked.

Could the problem have something to do with different interpretations of
an
apostrophe by Word (the merge document) and Excel (the data file source)?

Gordon


"Doug Robbins" wrote in message
...
Gordon,

Have you checked the box against the "Confirm conversions at open" item
under ToolsOptionsGeneral?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
"G.G. Biggar, Jr." wrote in message
...
Sir Douglas --

I'm not sure that I know what you mean when you say "attach the data
source...select(ing) the DDE method..."

If I use a blank space in the name field of the Excel file (in place of

an
apostrophe), there is no problem in creating a match-up during the

merge.
I
think that the software doesn't like my single-quote in that it is

looking
for another closing quote, so to speak.

Gordon



"Doug Robbins" wrote in message
...
Hi Gordon,

In Word, select Options for the Tools menu and then on the General
Tab,
check the "Confirm conversions at open" item and then when you attach

the
data source to the mailmerge main document, select the DDE method of
connection and see if that overcomes the problem.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
"G.G. Biggar, Jr." wrote in message
...
I have an Excel data file that I use as a master list for merges.
Recently,
I added a last name with an apostrophe (e.g., O'Donnell). Word
comes
back
during a merge with the message, "Word could not parse your query
options
into a valid SQL string."

I can get around this by omitting the apostrophe in the master list,
but
it
does not seem very professional. Is there an alternative?

Thanks in advance for any assistance.

Gordon Biggar
Houston, Texas













  #4  
Old April 22nd, 2005, 07:44 AM
G.G. Biggar, Jr.
external usenet poster
 
Posts: n/a
Default

Peter --

This is a merge program that I have been using with success for at least two
years. This is the only last name (of an individual, newly added to the
Excel file) in the particular Excel column that contains an apostrophe. If
I leave the apostrophe out of the name in the Excel file, and I enter the
same spelling (without an apostrophe) in the Word merge program, I get a
perfect match. For now, this is the route that I have taken, and then I
have to remember to add the apostrophe into the name in the merged document
(e.g., a letter, mailing label).

This works, but it is not "pure," so to speak. Maybe I should leave well
enough alone!

Gordon



"Peter Jamieson" wrote in message
...
I don't get this particular problem no matter how I connect to the Excel
sheet. But there is certainly the potential for a clash, in that Word
generates an SQL statement to get the data, and single quote is used in

SQL
(at least the way Word does it) to quote text values, e.g.

SELECT * FROM mydata WHERE surname = 'Smith'

However, for this to cause problems you would really have to be

specifiying
"O'Donnell" - or whatever - as a filter criterion, in whch case Word would
probably not generate valid SQL:

SELECT * FROM mydata WHERE surname = 'O'Donnell'

It seems unlikely but maybe you are doing something like that?

Peter Jamieson


"G.G. Biggar, Jr." wrote in message
...
Sir Douglas --

Been on the road for the last week, so I did not see your post until

this
evening.

Yes, the appropriate box was checked.

Could the problem have something to do with different interpretations of
an
apostrophe by Word (the merge document) and Excel (the data file

source)?

Gordon


"Doug Robbins" wrote in message
...
Gordon,

Have you checked the box against the "Confirm conversions at open" item
under ToolsOptionsGeneral?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
"G.G. Biggar, Jr." wrote in message
...
Sir Douglas --

I'm not sure that I know what you mean when you say "attach the data
source...select(ing) the DDE method..."

If I use a blank space in the name field of the Excel file (in place

of
an
apostrophe), there is no problem in creating a match-up during the

merge.
I
think that the software doesn't like my single-quote in that it is

looking
for another closing quote, so to speak.

Gordon



"Doug Robbins" wrote in message
...
Hi Gordon,

In Word, select Options for the Tools menu and then on the General
Tab,
check the "Confirm conversions at open" item and then when you

attach
the
data source to the mailmerge main document, select the DDE method of
connection and see if that overcomes the problem.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of

my
services on a paid consulting basis.

Doug Robbins - Word MVP
"G.G. Biggar, Jr." wrote in message
...
I have an Excel data file that I use as a master list for merges.
Recently,
I added a last name with an apostrophe (e.g., O'Donnell). Word
comes
back
during a merge with the message, "Word could not parse your query
options
into a valid SQL string."

I can get around this by omitting the apostrophe in the master

list,
but
it
does not seem very professional. Is there an alternative?

Thanks in advance for any assistance.

Gordon Biggar
Houston, Texas















  #5  
Old April 22nd, 2005, 11:57 AM
Peter Jamieson
external usenet poster
 
Posts: n/a
Default

This works, but it is not "pure," so to speak. Maybe I should leave well
enough alone!


I often come to that conclusion these days :-)

One other thing you could try is to use a different character in your data,
e.g. if you are using character 39 (Unicode U+0027 Apostrophe), try Unicode
U+2019 Right Single Quotation mark instead - you may be able to insert it
from the Windows Character map, or using Alt+numeric-keypad-0146 on the
keyboard.

Whether or not you will be able to do that, and whether or not this
character appears correctly in your merge results, I cnanot tell.

Peter Jamieson

"G.G. Biggar, Jr." wrote in message
...
Peter --

This is a merge program that I have been using with success for at least
two
years. This is the only last name (of an individual, newly added to the
Excel file) in the particular Excel column that contains an apostrophe.
If
I leave the apostrophe out of the name in the Excel file, and I enter the
same spelling (without an apostrophe) in the Word merge program, I get a
perfect match. For now, this is the route that I have taken, and then I
have to remember to add the apostrophe into the name in the merged
document
(e.g., a letter, mailing label).

This works, but it is not "pure," so to speak. Maybe I should leave well
enough alone!

Gordon



"Peter Jamieson" wrote in message
...
I don't get this particular problem no matter how I connect to the Excel
sheet. But there is certainly the potential for a clash, in that Word
generates an SQL statement to get the data, and single quote is used in

SQL
(at least the way Word does it) to quote text values, e.g.

SELECT * FROM mydata WHERE surname = 'Smith'

However, for this to cause problems you would really have to be

specifiying
"O'Donnell" - or whatever - as a filter criterion, in whch case Word
would
probably not generate valid SQL:

SELECT * FROM mydata WHERE surname = 'O'Donnell'

It seems unlikely but maybe you are doing something like that?

Peter Jamieson


"G.G. Biggar, Jr." wrote in message
...
Sir Douglas --

Been on the road for the last week, so I did not see your post until

this
evening.

Yes, the appropriate box was checked.

Could the problem have something to do with different interpretations
of
an
apostrophe by Word (the merge document) and Excel (the data file

source)?

Gordon


"Doug Robbins" wrote in message
...
Gordon,

Have you checked the box against the "Confirm conversions at open"
item
under ToolsOptionsGeneral?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
"G.G. Biggar, Jr." wrote in message
...
Sir Douglas --

I'm not sure that I know what you mean when you say "attach the data
source...select(ing) the DDE method..."

If I use a blank space in the name field of the Excel file (in place

of
an
apostrophe), there is no problem in creating a match-up during the
merge.
I
think that the software doesn't like my single-quote in that it is
looking
for another closing quote, so to speak.

Gordon



"Doug Robbins" wrote in message
...
Hi Gordon,

In Word, select Options for the Tools menu and then on the General
Tab,
check the "Confirm conversions at open" item and then when you

attach
the
data source to the mailmerge main document, select the DDE method
of
connection and see if that overcomes the problem.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of

my
services on a paid consulting basis.

Doug Robbins - Word MVP
"G.G. Biggar, Jr." wrote in message
...
I have an Excel data file that I use as a master list for merges.
Recently,
I added a last name with an apostrophe (e.g., O'Donnell). Word
comes
back
during a merge with the message, "Word could not parse your query
options
into a valid SQL string."

I can get around this by omitting the apostrophe in the master

list,
but
it
does not seem very professional. Is there an alternative?

Thanks in advance for any assistance.

Gordon Biggar
Houston, Texas

















 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Creating Distribution Lists! Chaplain Doug Contacts 5 June 11th, 2005 11:24 AM
Mail merge problem when filtering data from Excel data source Dave F General Discussions 5 December 3rd, 2004 06:45 PM
Creating labels using mail merge Michael Mailmerge 2 August 27th, 2004 02:04 PM
Is it a merge problem or a print problem? Jerry Mailmerge 1 August 10th, 2004 12:23 AM
Problem formatting ZIP code in mail merge Peter Serratore Setting up and Configuration 6 October 18th, 2003 01:50 AM


All times are GMT +1. The time now is 08:36 AM.


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