S
sam
Hi,
I have an unbound form. Once it is populated with data I
want to be able to click 'new' and clear all the
controls. Can anyone tell me how to do this. So far I
have the following but can't seem to get it to work....
that's if I'm even on the right track.
Private Sub cmdRecNew_Click()
Dim ctl As Control
For Each ctl In Me.Controls
*** can't get this right ****
Next ctl
End Sub
Not too sure about me.controls either
Any ideas?
I have an unbound form. Once it is populated with data I
want to be able to click 'new' and clear all the
controls. Can anyone tell me how to do this. So far I
have the following but can't seem to get it to work....
that's if I'm even on the right track.
Private Sub cmdRecNew_Click()
Dim ctl As Control
For Each ctl In Me.Controls
*** can't get this right ****
Next ctl
End Sub
Not too sure about me.controls either
Any ideas?