G
Guest
Hi I am getting an error when I use the filter reset funtion on my form.
Run-time error 2448 (Can't assign a value to this object).
When I debug it brings me to this line of code: (ctl.Value = Null)
'Clear all the controls in the Form Header section.
For Each ctl In Me.Section(acHeader).Controls
Select Case ctl.ControlType
Case acTextBox, acComboBox
ctl.Value = Null
Case acCheckBox
ctl.Value = False
End Select
Next
Can anyone figure out what might have changed to stop it from working?
Run-time error 2448 (Can't assign a value to this object).
When I debug it brings me to this line of code: (ctl.Value = Null)
'Clear all the controls in the Form Header section.
For Each ctl In Me.Section(acHeader).Controls
Select Case ctl.ControlType
Case acTextBox, acComboBox
ctl.Value = Null
Case acCheckBox
ctl.Value = False
End Select
Next
Can anyone figure out what might have changed to stop it from working?