I have a 20 user split database that is experiencing a problem with a line of code that previously worked well. The line appeared to be working, but since more users have been added it is triggering this error message when the form is opened:
Run-time error '2448': You can't assign a value to this object.
When I debug, the line of code that is throwing the error is:
I've tried calling this line from Form Open, Load and Current and all come up with the same error. The aim of this piece of code is to keep the selected value showing in a list box (lstSLAreason) which is dependent on the selection from the first list box (lstSLAdesc).
I don't understand why this error is happening, any direction is greatly appreciated!
Thank you!
Run-time error '2448': You can't assign a value to this object.
When I debug, the line of code that is throwing the error is:
Code:
Private Sub lstSLAdesc_AfterUpdate()
'updates the value of SLAnum field - qrySLAreason runs off from this info
[b][COLOR=red]Me!txtSLAnum.Value = lstSLAdesc.Column(1)[/color][/b]
Me.lstSLAreason.Requery
End Sub
I've tried calling this line from Form Open, Load and Current and all come up with the same error. The aim of this piece of code is to keep the selected value showing in a list box (lstSLAreason) which is dependent on the selection from the first list box (lstSLAdesc).
I don't understand why this error is happening, any direction is greatly appreciated!
Thank you!