V
vbnetman via AccessMonster.com
Good evening,
I've got a form with a yes / no dialog box that is used to accept / reject
data changes. When the user decides "NO", I want to close the form and exit
(docmd.close). At the time the user makes this selection, 2 text boxes
representing 2 fields are populated by design. I want to empty those just
prior to closing. I've used textbox1 = "" and textbox2 = "" (empty strings).
Access views this as a null and will not accept it. I can hide the warnings
but this does not really solve the problem. I've also tried textbox1 = 0 and
textbox 2 = 0 but these are actually values. Has anyone encountered this and,
if so, how did you resolve it.
Thank you
I've got a form with a yes / no dialog box that is used to accept / reject
data changes. When the user decides "NO", I want to close the form and exit
(docmd.close). At the time the user makes this selection, 2 text boxes
representing 2 fields are populated by design. I want to empty those just
prior to closing. I've used textbox1 = "" and textbox2 = "" (empty strings).
Access views this as a null and will not accept it. I can hide the warnings
but this does not really solve the problem. I've also tried textbox1 = 0 and
textbox 2 = 0 but these are actually values. Has anyone encountered this and,
if so, how did you resolve it.
Thank you