Ken Sheridan
Member
- Local time
- Today, 19:31
- Joined
- Jul 10, 2025
- Messages
- 36
If tests 1 and 2 are met, the query text field (Wanted) should be "Yes" but if test 3 is met, the result should be "No".
If those are the only allowed combinations of values you should enforce this constraint with a table-level Validation Rule:
([fldDiscNo] = 0 And IsNull([fldRecordingID]) Or [fldIgnore] = True
PS: I see from the examples you posted earlier that other combinations seem to be allowed, so you'd need to amend the ValidationRule expression accordingly. You might find it easier to constrain the row by what is not allowed.
Last edited: