Re: Validation
- From: "Sue Mosher [MVP-Outlook]" <suemvp@xxxxxxxxxxxxxxx>
- Date: Wed, 22 Feb 2006 15:51:59 -0500
Then, the right way to do it would be to add a Yes/No field and associated checkbox to the form (call the field NoInfo) and have users check that box if they don't have the information. In that scenario, your validation formula would capture both options -- either checking the box or filling out the value:
([Amount] <> 0) OR ([NoInfo] = True)
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"~KO" <sawbuck44@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:90A664A0-A6EE-4500-BEA4-B9FA1454E57B@xxxxxxxxxxxxxxxx
Sorry, long day. The only reason they would not have to fill out the amount.
is if they did not have it available to them at the time they are sending the
form.
"Sue Mosher [MVP-Outlook]" wrote:
That's not what I asked. You said, "There are times when they do not have to fill it out." What are those times? Maybe the underlying logic can be built into the form.
"~KO" <sawbuck44@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:266C79A1-2B0E-44DE-AD0F-CC1D78D5D6B8@xxxxxxxxxxxxxxxx
The user wants a message to display "Are you sure you want to leave the
Amount field blank?" So I guess the logic is that it is just to be a popup
reminder to see if the field should have an amount entered.
"Sue Mosher [MVP-Outlook]" wrote:
So, what's the business logic at work here? Tell us in English; don't worry about the code. Under what conditions would a value there not be necessary?
"~KO" <sawbuck44@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:3F930F97-431D-4742-A4D8-F716F2F96C3D@xxxxxxxxxxxxxxxx
There's always something else that crops up. The field works great if the
user was meant to put something in the amount, but there are times when they
do not have to fill it out. I tried to input 0.00 and it would not recognize
it as an amount. If I left the form set up this way, I would have to instruct
the user to input .01 if they did not have an amount to enter. Any ideas?
thanks!
"~KO" wrote:
You Rock Sue! Thank you so much for your quick and accurate response!
"Sue Mosher [MVP-Outlook]" wrote:
A validation formula must return True or False. I doubt that Amount is a Yes/Not field, so [Amount] would not be a valid validation formula. Maybe what you want to use is:
[Amount] <> 0
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"~KO" <sawbuck44@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:F5E4F4F8-2501-4A2B-B5DB-BA5F8B0C7383@xxxxxxxxxxxxxxxx
Outlook 2000
Properties / Validation on a field
I checked "Validate this field before closing form."
The Validation Formula is [Amount]
For "Display this message if validation fails:" - "Enter Amount."
The message does not display if field is empty and the form can be sent.
I do not have the "A value is required for this field" checked because if it
is checked, a message displays "A field on this form requires a value." It
does not tell me which field.
Thanks for your help and direction!
- References:
- Re: Validation
- From: Sue Mosher [MVP-Outlook]
- Re: Validation
- From: Sue Mosher [MVP-Outlook]
- Re: Validation
- From: Sue Mosher [MVP-Outlook]
- Re: Validation
- Prev by Date: Re: HELP-Fields not showing up in email
- Next by Date: Re: HELP-Fields not showing up in email
- Previous by thread: Re: Validation
- Next by thread: Re: HELP-Fields not showing up in email
- Index(es):
Relevant Pages
|