View Single Post
  #8  
Old September 1st 09, 04:02 PM posted to microsoft.public.developer.outlook.addins,microsoft.public.outlook.interop,microsoft.public.outlook.program_addins,microsoft.public.outlook.program_vba
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default Errormessage "A field requires a Value"

I don't know of any other method. When simple validation is used, it doesn't
leave any indicator in the UserProperty.ValidationFormula property.
However, the UserProperties collection will contain any standard properties
that have had validation set on them, so iterating that collection and
getting a list of the properties might provide a clue.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"escamoteur" wrote in message
...
How can I check the valiation setting of a field besides the settings
dialog of a control?

"Sue Mosher [MVP]" schrieb im Newsbeitrag
...
Deleting the control won't change the validation setting, which is stored
as part of the property. If you've checked and double-checked the Subject
property, maybe the problem is somewhere else, on a different property,
perhaps even one whose control you removed earlier. That would certainly
fit the symptoms.



"escamoteur" wrote in message
...
I did this several times. I even deleted the control an added it again
from Fieldchooser. Also it does not place the curso in any specific
control after the message.


"Sue Mosher [MVP]" schrieb im Newsbeitrag
...
I'd check and make sure that validation setting is really and truly
disabled. You wouldn't be getting the warning if it weren't still
active.

"escamoteur" wrote in message
...
I enabled for the subject field that it requires content, but I
disabled it again. Any idea what I could do?

"Sue Mosher [MVP]" schrieb im Newsbeitrag
...
The symptoms suggest that one or more fields have simple validation
(i.e. require a validation) set on them, not necessarily the Subject
field. Did you perhaps add a field, set validation, then later remove
that field?

It's best never to use simple validation, but instead to use a
validation formula and an explicit validation message to the user
that gives the name of the field under validation.

"escamoteur" wrote in message
...
Hi,

I have a custom form region in Outlook 2007 defined. It worked fine
as long as I only used Custom Fields bound to my controls. Now I
decided to use the "Subject" Field on the form. Since then. When I
create a new item and choose "Save and Close" I get an error message
that "one field on the form requires a value" although I have
entered a value into the Subject Control. I really have no idea what
the problem is.

All the best
Tom





Ads