Hi everyone,
I am looking for help on how to select a value based on the value of a calculated field.
If you look at the attached screenshot you will see a form. After the user enters DOB (date of birth), Age ([ArrestedAge]) is calculated based on the following control source:
The "Status" field is a dropdown with the following options:
Under 18
18 or Older
Unknown
I want this field to autoselect "18 or Older" or "Under 18" depending on the age calculated in ArrestedAge field.
Thank you all in advance for your help with this.
I am looking for help on how to select a value based on the value of a calculated field.
If you look at the attached screenshot you will see a form. After the user enters DOB (date of birth), Age ([ArrestedAge]) is calculated based on the following control source:
Code:
=DateDiff("yyyy",[ArrestedDOB],Now())+Int(Format(Now(),"mmdd")<Format([ArrestedDOB],"mmdd"))
The "Status" field is a dropdown with the following options:
Under 18
18 or Older
Unknown
I want this field to autoselect "18 or Older" or "Under 18" depending on the age calculated in ArrestedAge field.
Thank you all in advance for your help with this.