Husameddin
Technical User
I am using Access and this VBA code
Cancel = False
If ([Type] <> "Cruiser"
Then
MsgBox "Error You can only use Centaur Or Cruiser in this Route”
End If
i want the code to give error message if the user enter Cruiser or Centaur i tried with (Or) but did not work. i used the (,) between the two words but did not work as well.
Please help
Cancel = False
If ([Type] <> "Cruiser"
MsgBox "Error You can only use Centaur Or Cruiser in this Route”
End If
i want the code to give error message if the user enter Cruiser or Centaur i tried with (Or) but did not work. i used the (,) between the two words but did not work as well.
Please help