J
JezLisle via AccessMonster.com
I am using this code at the end of my routine that once all data has been
updated in the table it then clears all values from the TextBox's or Combo's
on the form.
My problem is that I keep getting this error message on the following code
and dont know why or how to get around it
Me.PersonalID.Value = ""
Me.txtForename.Value = ""
Me.txtSurname.Value = ""
Me.txtAddress1.Value = ""
Error: "You tried to assign the NULL value to a variable that is not a
Variant data type"
What would this appear for, as all I was trying to do is clear any values in
TextBox's or Combo's on the form?
updated in the table it then clears all values from the TextBox's or Combo's
on the form.
My problem is that I keep getting this error message on the following code
and dont know why or how to get around it
Me.PersonalID.Value = ""
Me.txtForename.Value = ""
Me.txtSurname.Value = ""
Me.txtAddress1.Value = ""
Error: "You tried to assign the NULL value to a variable that is not a
Variant data type"
What would this appear for, as all I was trying to do is clear any values in
TextBox's or Combo's on the form?