G
Guest
I'm a VB/SQL guy looking at an access program for a client (I did not write
this program. The following code in a module fails with the error Can't
assign a value to this object:
Me!frmCtrOrders("OrderType") = "O"
The field OrderType on the form frmCtrOrders is a list box ("O" does seems
to be one of the allowable items in the list). This form is a subform of a
form called frmClientOrder. The list box does not appear to be bound to
anything.
From within the form itself I can see the field in the list of available
properties by typing me.ordertype. But in the debug window (when the code
fails) I cannot see this field in any of the property lists that I try to
generate.
It seems like the program may not be referencing the field in a way that
Access can understand. Any advice will be very much appreciated.
Kevin
this program. The following code in a module fails with the error Can't
assign a value to this object:
Me!frmCtrOrders("OrderType") = "O"
The field OrderType on the form frmCtrOrders is a list box ("O" does seems
to be one of the allowable items in the list). This form is a subform of a
form called frmClientOrder. The list box does not appear to be bound to
anything.
From within the form itself I can see the field in the list of available
properties by typing me.ordertype. But in the debug window (when the code
fails) I cannot see this field in any of the property lists that I try to
generate.
It seems like the program may not be referencing the field in a way that
Access can understand. Any advice will be very much appreciated.
Kevin