Order of fields in the mailmerge recipient list in Word 2003

D

Dan Newcombe

I am using an Access 2003 query as the data source of a Word 2003 merge
document. How can I re-arrange the the fields in the recipient list into a
sensible order? And then keep them in that order?
Changing the order of fields in the query seems to have a random effect or
none at all on the field order of the recipient list. Any ideas?
 
P

Peter Jamieson

You can temporarily resequence the columns in the Mailmerge recipients
dialog box by dragging and dropping the column headers, but I know of no way
to make those changes stick.

Broadly speaking, Word tries to recognise field names commonly used in name
and address lists (in English, anyway - I have no idea what it does in other
language versions) and imposes its preferred sequence. If you use field
names that it does not recognise, Word seems to use the sequence used in the
the query. So one thing you can do is
a. put the fields you want in the sequence you want in the query
b. use an alias name for each field. A simple way that leaves the names
readable but does not appear to interfere with anything else is to prefix
every name by an underscore ("_"), e.g. use _firstname, _lastname etc.

(For example in the SQL you might have

SELECT firstname as _firstname, lastname as _lastname FROM mytable
)
b. prefix every field name by a number (say) so that Word will not
recognise it

Peter Jamieson
 
D

Dan Newcombe

That works, thanks very much.
One thing to note is that to see the desired effect of any changes made to
the source query the data connection needs to be re-established.
 
P

Peter Jamieson

I used to go through that loop, but then I discovered that clicking the
Refresh button in the Mail Merge Recipients dialog box seems to re-issue the
query and get the new column names. It may not not always work, though...

Peter Jamieson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top