.oldvalue properties error 2448, can't assign a value

d_profesor

Registered User.
Local time
Today, 17:41
Joined
Jan 17, 2008
Messages
43
Hello,

I try to use this code :

dim ctlc as control

For Each ctlc In Me.Controls
If Not ctlc.Name = "txt_Id_Barang" Then
If ctlc.ControlType = acTextBox Then
ctlc.Value = ctlc.OldValue
End If
End If
Next ctlc

But i got errorr : 2448, You can't assign a value to this object.

how can i solve it?


Thanks
 

Users who are viewing this thread

Back
Top Bottom