W
Wavequation
I am trying to change the value in a check box using code. The control is a
check box named "Order Complete", and is bound to a field in a table, also
named "Order Complete", with a field type of yes/no. The control is enabled,
and not locked, and may be changed by clicking in it. The code is triggered
by the "on close" event. On close of the form, I would like the value of the
underlying field to become "yes". The code I am using to do this is as
follows:
Me.Order_Complete = True
When the code runs, it gives an error message:
run-time error '2147352567(80020009)'
You can't assign a value to this object
Why can't the value of this control be changed?
Thanks!
check box named "Order Complete", and is bound to a field in a table, also
named "Order Complete", with a field type of yes/no. The control is enabled,
and not locked, and may be changed by clicking in it. The code is triggered
by the "on close" event. On close of the form, I would like the value of the
underlying field to become "yes". The code I am using to do this is as
follows:
Me.Order_Complete = True
When the code runs, it gives an error message:
run-time error '2147352567(80020009)'
You can't assign a value to this object
Why can't the value of this control be changed?
Thanks!