G
Guest
In my database I have a linked table from SQL-server.
In the table there is field "BranchID". The "Allow Nulls" property of the
field is set to "No".
In my database there is a form for entering records to that table.
The control-field "BranchID" has the following properties:
ValidationRule = Is Not Null
ValidationText = "My message text"
But when a user enters some value into the field and then deletes it, he
gets the following message:
<You tried to assign the Null value to a variable that is not a Variant data
type>
instead of "My message text".
How can I force the form to show my custom warning?
In the table there is field "BranchID". The "Allow Nulls" property of the
field is set to "No".
In my database there is a form for entering records to that table.
The control-field "BranchID" has the following properties:
ValidationRule = Is Not Null
ValidationText = "My message text"
But when a user enters some value into the field and then deletes it, he
gets the following message:
<You tried to assign the Null value to a variable that is not a Variant data
type>
instead of "My message text".
How can I force the form to show my custom warning?