Hi,
I want to have a button that resets all the controls on a form to blank when it is clicked. Is there a way to do this without listing each control in the Sub? Is there something like * for that would mean select all controls?
This is an example of what I have been using, but there are 20 controls on the form, so a short cut would be nice.
Private Sub cmdReset_Click()
Me!Control1.Value = ""
Me!Control2.Value = ""
End Sub
I want to have a button that resets all the controls on a form to blank when it is clicked. Is there a way to do this without listing each control in the Sub? Is there something like * for that would mean select all controls?
This is an example of what I have been using, but there are 20 controls on the form, so a short cut would be nice.
Private Sub cmdReset_Click()
Me!Control1.Value = ""
Me!Control2.Value = ""
End Sub