Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / June 2004

Tip: Looking for answers? Try searching our database.

Mail Merge with ACCESS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Roy - 09 Jun 2004 04:14 GMT
Can ANYONE tell me how to do this?

We use Access for the data.
In a Word document "Template", I want to say:

If {field}(a particular field in Access) = "A" then
print "happy day".  If {field] is blank, print "sad day".

I know this is easy for most of you, but I have looked and
looked and can't find it in the Help section.

Thank you!!

Roy Kaufmann
Doug Robbins - Word MVP - 09 Jun 2004 05:06 GMT
To do it in Word, use and If ... then ... Else field construction

{ IF { MERGEFIELD [The particular field in Access] } = "A" "happy day" "sad
day" }

But I would use the IIF expression in a query in Access and use that query
as the datasource.

Signature

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested.  Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP

> Can ANYONE tell me how to do this?
>
[quoted text clipped - 10 lines]
>
> Roy Kaufmann
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.