Hi Experts,
I am working with Access and VB. I need the to enforce some constraints at the DB. Specifically, have 4 yes/no fields in a table {F1, F2, F3, F4}.
I want the DB to enfoce the following constraint....
IF (F1 OR F2 OR F3) = True
THEN F4 must be true
... How can I add a constraint like this to my DB? To be clear, I know that I can check data as it goes into the DB and validate that the user has appropriatly entered F4=True if any of the other fields are... This is not good enough - I want the DB to through an error back at them....
Thanks so much,
-TRAVIS
as mentioned you can do this with vb but you can not make the db do it for you.