Hello everyone,
Is there a way to check for a NONnumeric value in a field? In addition, is there a way to have 'ignore' as the action in an IF statement?
I want to set an error message if the value in a field is not numeric.
for example: If RoomNumber is not numeric, set ErrorMsg.
Alternatively, I could also do:
If RoomNumber IS numeric
Ignore
Else set ErrorMsg
In COBOL, you can program 'Next Sentence' if you want to ignore a condition in an IF statement. Is there something comparable in VBA? You can also negate a test for numeric. Is there an opposite for ISNUMERIC?
I 'only' have 5 big Access books and can't find the answer in any, OR the help facility. Is it me??
Thanks in advance,
Lori
Is there a way to check for a NONnumeric value in a field? In addition, is there a way to have 'ignore' as the action in an IF statement?
I want to set an error message if the value in a field is not numeric.
for example: If RoomNumber is not numeric, set ErrorMsg.
Alternatively, I could also do:
If RoomNumber IS numeric
Ignore
Else set ErrorMsg
In COBOL, you can program 'Next Sentence' if you want to ignore a condition in an IF statement. Is there something comparable in VBA? You can also negate a test for numeric. Is there an opposite for ISNUMERIC?
I 'only' have 5 big Access books and can't find the answer in any, OR the help facility. Is it me??
Thanks in advance,
Lori