Validation

G

Guest

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!
 
S

Sue Mosher [MVP-Outlook]

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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

You Rock Sue! Thank you so much for your quick and accurate response!

Sue Mosher said:
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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



~KO said:
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!
 
G

Guest

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 said:
You Rock Sue! Thank you so much for your quick and accurate response!

Sue Mosher said:
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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



~KO said:
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!
 
S

Sue Mosher [MVP-Outlook]

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?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



~KO said:
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 said:
You Rock Sue! Thank you so much for your quick and accurate response!

Sue Mosher said:
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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



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!
 
G

Guest

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 said:
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?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



~KO said:
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 said:
You Rock Sue! Thank you so much for your quick and accurate response!

:

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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



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!
 
S

Sue Mosher [MVP-Outlook]

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.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



~KO said:
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 said:
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 said:
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!

:

You Rock Sue! Thank you so much for your quick and accurate response!

:

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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



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!
 
G

Guest

I think we are going to solve the issue with this text to display in the popup:

“Are you sure you do not need an Amount? If no amount is to be entered,
please input .01 into the Amount field in order to send the form on.â€

Thanks, I'm going to read all the hits I get on validation (I know I should
have done this first).

~KO said:
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 said:
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?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



~KO said:
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!

:

You Rock Sue! Thank you so much for your quick and accurate response!

:

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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



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!
 
G

Guest

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 said:
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.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



~KO said:
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 said:
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?

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!

:

You Rock Sue! Thank you so much for your quick and accurate response!

:

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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



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!
 
S

Sue Mosher [MVP-Outlook]

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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



~KO said:
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 said:
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 said:
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.

:

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?

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!

:

You Rock Sue! Thank you so much for your quick and accurate response!

:

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

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top