O
osupratt via AccessMonster.com
i have a field on my form called FTNumber. trying to get a message box on the
after update to where:
if mid(FTNumber,1,1)<> "A" Then
MsgBox "You entered a Ticket Number that is not of a recognized format;
ensure the Ticket Number is correct", vbInformation, "Notice"
End If
this works fine. the issue is i have other values that are also a good format.
"C","D","E","F". when i try the:
if mid(FTNumber,1,1)<> "A" or if mid(FTNumber,1,1)<> "C"
it doesn't recognize the "C".
when i set up an array i get a type mismatch. not sure if there is just a
simple way that i'm not seeing to accomplish what i want. thanks.
after update to where:
if mid(FTNumber,1,1)<> "A" Then
MsgBox "You entered a Ticket Number that is not of a recognized format;
ensure the Ticket Number is correct", vbInformation, "Notice"
End If
this works fine. the issue is i have other values that are also a good format.
"C","D","E","F". when i try the:
if mid(FTNumber,1,1)<> "A" or if mid(FTNumber,1,1)<> "C"
it doesn't recognize the "C".
when i set up an array i get a type mismatch. not sure if there is just a
simple way that i'm not seeing to accomplish what i want. thanks.