M
Mark S via AccessMonster.com
First, due to conditions beyond my control I can not do this at the table
level. I am not a VBA programmer (yet). I need help in programming to
validate a form. If A is not null then B and C must be filled in or I can
not write the record. But If A is null and D is not null then B and C need to
be null. I'm thinking beforeupdate
If Not Isnull ([A]) Then
If Isnull () Or Isnull ([C]) Then
Msgbox "Please fill in B and C"
Cancel = True
I can't get the logic for the condition with A & D so that I can write the
record without filling B & C.
Any help is appreciate. Thank you
level. I am not a VBA programmer (yet). I need help in programming to
validate a form. If A is not null then B and C must be filled in or I can
not write the record. But If A is null and D is not null then B and C need to
be null. I'm thinking beforeupdate
If Not Isnull ([A]) Then
If Isnull () Or Isnull ([C]) Then
Msgbox "Please fill in B and C"
Cancel = True
I can't get the logic for the condition with A & D so that I can write the
record without filling B & C.
Any help is appreciate. Thank you