I
Ivar Svendsen
Hello.
Try to put this code into the subform:
Sub Form_BeforeUpdate(Cancel as Integer)
if isnull(PaymentType) then
MsgBox "Need PaymentType"
Cancel = True
elseif PaymentType = "Check" and isnull(CheckNumber) then
MsgBox "Need check number"
Cancel = True
end if
end sub
..
Try to put this code into the subform:
Sub Form_BeforeUpdate(Cancel as Integer)
if isnull(PaymentType) then
MsgBox "Need PaymentType"
Cancel = True
elseif PaymentType = "Check" and isnull(CheckNumber) then
MsgBox "Need check number"
Cancel = True
end if
end sub
..