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 / Programming / January 2006

Tip: Looking for answers? Try searching our database.

Form Automation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
khmoffat - 16 Jan 2006 22:38 GMT
I am tring to create a form that will check or uncheck a box next to a
signature line to indicate if the signature is required or not.

I have several fields that are calculated.

The best I can do is using another field with a formula in it like
"=OR(OR(euro_total>0,swan_total>0),genus_total>0)"

this results in a 1 or a zero.  I would rather have this as a checked or
unchecked box.  Any ideas?

Right now I am assuming I need to use VBA for this hence my previous post.
Graham Mayor - 17 Jan 2006 13:00 GMT
Actually you don't need VBA for this. You can manage it with a conditional
field

{ IF{ =OR(OR({ euro_total } > 0, { swan_total } > 0),{ genus_total }> 0) } =
1 "A" "B"}

Watch the spacing - and insert field boundaries with CTRL+F9.

In place of A & B insert a checked box character and an unchecked box
character (wingdings 2 font) or vice versa depending on when you want the
box checked. Check the calculate on exit property for each of the three
checked fields.

See also "Testing for a value in one of several fields" at
http://www.gmayor.com/formatting_word_fields.htm

Signature

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

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

> I am tring to create a form that will check or uncheck a box next to a
> signature line to indicate if the signature is required or not.
[quoted text clipped - 9 lines]
> Right now I am assuming I need to use VBA for this hence my previous
> post.

Rate this thread:






 
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.