Pauldohert
Something in here
- Local time
- Today, 01:29
- Joined
- Apr 6, 2004
- Messages
- 2,097
I have my field set in SQL not to accept null and to default to 0.
When a user edits the field from access, they can delete the value and try to put a null in. On attempting to leave the field I get the error - "You tried to assign the Null value to a variable that is not a Variant data type".
Something like "Please enter a value!" would be a better message. How can I get a friendly message without having to do something for all fields on my forms?
Ta
When a user edits the field from access, they can delete the value and try to put a null in. On attempting to leave the field I get the error - "You tried to assign the Null value to a variable that is not a Variant data type".
Something like "Please enter a value!" would be a better message. How can I get a friendly message without having to do something for all fields on my forms?
Ta