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 / March 2005

Tip: Looking for answers? Try searching our database.

IF THEN ELSE with FORM CHECKBOX

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jane - 24 Mar 2005 20:44 GMT
I am pulling data from an Access database.  The field is
a Yes/No (Checkbox).  When I merge the records into Word,
I know that I get a "True" or a "False" rather than a
checked form checkbox or a non-checked form checkbox.  
So, I tried to do an IF ..THEN .. ELSE that if the field
was true to insert a checked form checkbox and if the
field is false to insert a non-checked form checkbox.  Is
this possible?  How do I make the checkbox "code"
correctly in this statement?
Thanks.
Graham Mayor - 25 Mar 2005 08:55 GMT
Insert the check box merge field {Mergefield Fieldname} and see *exactly*
what it produces for a true result and enter that in place of True below.
Use the required checkbox characters from (say) the Wingdings font where
indicated then something along the lines of:

{IF {Mergefield Fieldname} = True "Checked Box Character" "Unchecked box
character"}

will insert a checkbox or not according to the field - something similar is
shown as an example at http://www.gmayor.com/Macrobutton.htm

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> I am pulling data from an Access database.  The field is
> a Yes/No (Checkbox).  When I merge the records into Word,
[quoted text clipped - 6 lines]
> correctly in this statement?
> Thanks.
 
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.