L
LeAnn
I have a procedure that get's called that I want to clear all values in all
text controls. I saw a post by Dirk Goldgar that appears to have solved this
question for TataKau but I keep getting "You can't assign a value to this
object" error. I'm using Access 2003.
Thanks for your help
LeAnn
--------Dirk's code-------------------------------------------
Dim ctl As Access.Control
For Each ctl In Me.Controls
If ctl.ControlType = acTextBox Then
ctl.Value = Null
End If
Next ctl
text controls. I saw a post by Dirk Goldgar that appears to have solved this
question for TataKau but I keep getting "You can't assign a value to this
object" error. I'm using Access 2003.
Thanks for your help
LeAnn
--------Dirk's code-------------------------------------------
Dim ctl As Access.Control
For Each ctl In Me.Controls
If ctl.ControlType = acTextBox Then
ctl.Value = Null
End If
Next ctl