P
plh
Hello Everyone,
Something mysterious has happened to my form:
I had code to the following effect being executed as part of Form_Open:
With Me
...
...
.txtDIC.Value = intEDays
...
...
End With
Where .txtDIC is a bound text box control. Everything was fine until recently,
when I started getting the error message:
****************
Run-time error '2448'
You can't assign a value to this object
****************
I replaced it with...
strSQL = "UPDATE tblCustOrds SET DaysInCell = " & intEDays & " WHERE ID = " &
..OpenArgs
CurrentDb().Execute strSQL, dbFailOnError
....Which seems to work but the thing that bothers me is that the simpler method
of changing the table values worked before but now raises an error so something
has changed but I don't know what. Any ideas?
Thank You,
-plh
Something mysterious has happened to my form:
I had code to the following effect being executed as part of Form_Open:
With Me
...
...
.txtDIC.Value = intEDays
...
...
End With
Where .txtDIC is a bound text box control. Everything was fine until recently,
when I started getting the error message:
****************
Run-time error '2448'
You can't assign a value to this object
****************
I replaced it with...
strSQL = "UPDATE tblCustOrds SET DaysInCell = " & intEDays & " WHERE ID = " &
..OpenArgs
CurrentDb().Execute strSQL, dbFailOnError
....Which seems to work but the thing that bothers me is that the simpler method
of changing the table values worked before but now raises an error so something
has changed but I don't know what. Any ideas?
Thank You,
-plh