I have just completed designing a new DB and my boss has asked me to put some complicated (I think!) validation rules on to it. My table is below:
1. Index - AutonumberWhat my boss is looking for is:
2. Hospital Number - Text (FK)
3. Unexpected Adverse Event - Text (with combo box)
4. SAE - Yes/No
5. Date event start - Date/Time
6. Date event end - Date/Time
7. Grade - Text (with combo box)
8. Event ongoing - Yes/No
9. Event resolved - Yes/No
10. Treatment required - Yes/No
11. Comment - memo
1. 'Event ongoing' cannot be ticked if there is no date in for 'event end'
2. 'Event resolved' is automatically ticked if there is a date in for 'event end'
3. 'Event ongoing' cannot be ticked if 'event resolved' is ticked.
I have tried searching for how to do this and the only thing that I have come up with is a table validation rule but it seems that you can have one rule for this.
Can anyone point me in the right direction, am I looking for a validation rule or is it code that I need.
As usual thanks a million for your time.
Baba