Help - This should be simple
I'm using this code to clear unbound text boxes on my form. I keep getting an error message "Object doesn't support this property or method". I'm using this same code on other forms and it works fine. What am I missing? I'm using Access 2000.
Dim ctl As Control
Set dbs = CurrentDB
For Each ctl In Me.Controls
If ctl.Tag = "A" Then
ctl = Null
End If
Next
I'm using this code to clear unbound text boxes on my form. I keep getting an error message "Object doesn't support this property or method". I'm using this same code on other forms and it works fine. What am I missing? I'm using Access 2000.
Dim ctl As Control
Set dbs = CurrentDB
For Each ctl In Me.Controls
If ctl.Tag = "A" Then
ctl = Null
End If
Next