G
George Lob
Let's say you are selling a widget. You have a list box that has available
widgets from different manufacturers and the qty in stock and you have a
list box of selected items. You select the widget that has the qty you need
in stock and you click a button to move it to the selected listbox. What I
want to do is adjust the qty of the widget in the available listbox to
reflect the available qty minus the selected qty.
The available listbox has a Select statement to fill the box.
I've tried:
Me.lstAvailable.Column(1) = Me.lstAvailable.Column(1) - Me.intQty
but I get a runtime error '424' Object required. Any help would be
appreciated.
widgets from different manufacturers and the qty in stock and you have a
list box of selected items. You select the widget that has the qty you need
in stock and you click a button to move it to the selected listbox. What I
want to do is adjust the qty of the widget in the available listbox to
reflect the available qty minus the selected qty.
The available listbox has a Select statement to fill the box.
I've tried:
Me.lstAvailable.Column(1) = Me.lstAvailable.Column(1) - Me.intQty
but I get a runtime error '424' Object required. Any help would be
appreciated.