Re: Require field entry based on data entered in another field.



Create a Validation Rule on your table.

For details, see the 2nd example in the 2nd section of this article:
http://allenbrowne.com/ValidationRule.html#TableValidationRule

Be sure to bracket carefully if you are combining ANDs and ORs on multiple pairs of fields.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"lsimonelli via AccessMonster.com" <u40941@uwe> wrote in message
news:7ef46b00eff6a@xxxxxx
On a form, how do I require entry of a field based on the data in another
field? I do not want to require at the table level.

I have a field that the user selects where a refund goes. If they choose
"Other", field "Other Explanation" cannot be Null. If they choose
"Producer" then field "Producer Code" cannot be Null.

Your help would be greatly appreciated!!

.



Relevant Pages

  • Re: Copy a record to a new record in the same table with a button on form
    ... Allen Browne - Microsoft MVP. ... Perth, Western Australia ... Tips for Access users -http://allenbrowne.com/tips.html ...
    (comp.databases.ms-access)
  • Re: Combo box
    ... Perth, Western Australia ... Tips for Access users - http://allenbrowne.com/tips.html ... I put a combo box in my form as the input data. ...
    (microsoft.public.access.forms)
  • Re: Combo box
    ... Perth, Western Australia ... Tips for Access users - http://allenbrowne.com/tips.html ... I put a combo box in my form as the input data. ...
    (microsoft.public.access.forms)
  • Re: Prefix to Autonumber
    ... Allen Browne - Microsoft MVP. ... Perth, Western Australia ... Tips for Access users - http://allenbrowne.com/tips.html ...
    (comp.databases.ms-access)
  • Re: Find thread on Best match for names
    ... Perth, Western Australia ... Tips for Access users - http://allenbrowne.com/tips.html ... Though the Soundex algorithm is interesting, it is not quite what I am ...
    (comp.databases.ms-access)