I have a table that hold numeric codes. Example:
Code
1000
1002
2000
2394
On a form I request for the code number. I need help to construct a query that if the code does not exist, it will return a message that the code does not exist. For example the code 1111 is not on the list.
I already have a code that if the individual enters a code that has more than 4 characters in length it will message that the code is invalid, the same goes if the code is null or less than 0.
Code
1000
1002
2000
2394
On a form I request for the code number. I need help to construct a query that if the code does not exist, it will return a message that the code does not exist. For example the code 1111 is not on the list.
I already have a code that if the individual enters a code that has more than 4 characters in length it will message that the code is invalid, the same goes if the code is null or less than 0.