
Signature
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
>I am using Access 2002 to set up a mail merge letter and envelope. Some of
> the records in my Access database don't have all of the name and address
[quoted text clipped - 12 lines]
> done both ways? If so, I would appreciate getting info on both, and the
> reasons to prefer one or the other. Thanks.
Hi Doug,
Thanks for your answer. How can I get two different entries as a response
to the IF statement. The way I want to use this is that if the middle name
exists, to print the middle name THEN ADD A SPACE. In other words to insert
both a field and selected text after that field. I can also see using this
to add things like commas and periods, depending on the context.
The WORD help files seem to have limited information on these kind of
issues. Is there a site that I can use as a resource that would give me full
help files on things like conditional statements, switches, etc? If so, what
would you recommend?
The idea of using the database queries to manipulate the data sounds good,
but I'm not sure just how to do that. I used to work with SQL some years
ago, but frankly have forgotten much of what I knew. Are there options in
Access that would let me do this directly, or do I need to write these
statements directly into the SQL ? In either case, and clues you can give me
as to how to do it and where to find more info for what I'm not sure of will
be helpful.
Thanks.

Signature
Larry S
> You can use either an If() function in an Access query or an
> If...then...Else... field in the mail merge main document.
[quoted text clipped - 23 lines]
> > done both ways? If so, I would appreciate getting info on both, and the
> > reasons to prefer one or the other. Thanks.
Doug Robbins - Word MVP - 14 Aug 2006 22:39 GMT
Use the field construction that I gave you. You must use Ctrl+F9 to insert
each pair of field delimiters and just change the names of the mergefields
that I used in the example to the names of the fields in your data source.
Use Alt+F9 to toggle the display of the field codes.

Signature
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
> Hi Doug,
>
[quoted text clipped - 60 lines]
>> > the
>> > reasons to prefer one or the other. Thanks.
Larry S. - 15 Aug 2006 04:48 GMT
OK, Thanks. Any suggestions on how to make the changes in the database if I
want to go that route? Would I do that in SQL?

Signature
Larry S
> Use the field construction that I gave you. You must use Ctrl+F9 to insert
> each pair of field delimiters and just change the names of the mergefields
[quoted text clipped - 65 lines]
> >> > the
> >> > reasons to prefer one or the other. Thanks.
Doug Robbins - Word MVP - 15 Aug 2006 08:10 GMT
Use a query in Access.

Signature
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
> OK, Thanks. Any suggestions on how to make the changes in the database if
> I
[quoted text clipped - 85 lines]
>> >> > the
>> >> > reasons to prefer one or the other. Thanks.