When I use a combo box on a form to transfer a value to an update query the value transferred appears as a small square and not the value in the combo box.
Combo box code SELECT T_PICK_STATUS.NO_STATUS, T_PICK_STATUS.ID_STATUS
FROM T_PICK_STATUS;
Command Button code Private Sub CmdStat_Click()
DoCmd.RunSQL "UPDATE T_PICKING_LINES SET T_PICKING_LINES.STATUS = [Forms]![AbyssChange]![ID_STATUS_Label]" & _
"WHERE (((T_PICKING_LINES.PICKED_DATE)=[Forms]![AbyssChange]![Combo8]));"
End Sub
In the table this is the result that appears in. The Expr1 Field Appears as a small square
The Expr1 Field format is set to number
NO_STATUS ID_STATUS Expr1
0 Unassigned
1 Assigned
2 Deferred
3 Picking List Done
4 Labels Done
5 Confirmed
6 Invoiced
7 Consignment Printed
9 Closed
Can anyone help with this problem
Errol Featherstone
Combo box code SELECT T_PICK_STATUS.NO_STATUS, T_PICK_STATUS.ID_STATUS
FROM T_PICK_STATUS;
Command Button code Private Sub CmdStat_Click()
DoCmd.RunSQL "UPDATE T_PICKING_LINES SET T_PICKING_LINES.STATUS = [Forms]![AbyssChange]![ID_STATUS_Label]" & _
"WHERE (((T_PICKING_LINES.PICKED_DATE)=[Forms]![AbyssChange]![Combo8]));"
End Sub
In the table this is the result that appears in. The Expr1 Field Appears as a small square
The Expr1 Field format is set to number
NO_STATUS ID_STATUS Expr1
0 Unassigned
1 Assigned
2 Deferred
3 Picking List Done
4 Labels Done
5 Confirmed
6 Invoiced
7 Consignment Printed
9 Closed
Can anyone help with this problem
Errol Featherstone