D
dbl
Hi I am stuck with the following, how do I get my code to give the message
in the MsgBox if the data in field CarComercial is null or has any value
other than Private Car or Commercial Veh/Van
If (Me.Insurer) = "AAC" Or (Me.CarCommercial) = "Private Car" Or
(Me.CarCommercial) = "Commercial Veh/Van" Then
GoTo SkipMe
Else
If (Me.CarCommercial) = !!! Help needed here !!! Any text other than above
or null !!!! Then
MsgBox "You Cannot Proceed Without Entering Private Car or Commercial
Veh/Van"
Me.InvoiceVatTo = "Error Insufficient Data You Must Not Proceed"
Exit Sub
SkipMe:
Thanks Bob
in the MsgBox if the data in field CarComercial is null or has any value
other than Private Car or Commercial Veh/Van
If (Me.Insurer) = "AAC" Or (Me.CarCommercial) = "Private Car" Or
(Me.CarCommercial) = "Commercial Veh/Van" Then
GoTo SkipMe
Else
If (Me.CarCommercial) = !!! Help needed here !!! Any text other than above
or null !!!! Then
MsgBox "You Cannot Proceed Without Entering Private Car or Commercial
Veh/Van"
Me.InvoiceVatTo = "Error Insufficient Data You Must Not Proceed"
Exit Sub
SkipMe:
Thanks Bob