Greetings,
I would like to clear all fields on an unbound form I am creating. The form is used to enter a record (via a submit button with ADO code behind it). I would like to add a 'Clear' form button to allow the user to clear all values in the fields. I have tried the following to no avail.
Private sub Clear_click()
Me.Undo
End Sub
The form has a variety of objects (subform, text boxes, combo boxes, and check boxes). Any suggestions besides setting all values to 'null' in the code (there are a lot of fields)? Thanks in advance
I would like to clear all fields on an unbound form I am creating. The form is used to enter a record (via a submit button with ADO code behind it). I would like to add a 'Clear' form button to allow the user to clear all values in the fields. I have tried the following to no avail.
Private sub Clear_click()
Me.Undo
End Sub
The form has a variety of objects (subform, text boxes, combo boxes, and check boxes). Any suggestions besides setting all values to 'null' in the code (there are a lot of fields)? Thanks in advance