G
Guest
An employee needs to be able to enter an account # in a text box on a form,
then click the "Submit" button and then see a list of orders associated with
that account pop up in a list box. They then need to be able to highlight
and select multiple orders from that list with the CTRL or SHIFT key
(courtesy of using the Extended List Box feature.) Then once selecting all
desired orders in the list, they click "View" and a query come up showing all
those orders on separate records with miscellaneous information from other
fields in the order table.
At the very beginning, how do you get the specific orders for the account
the user typed in the text box on the form to pop up in a list box without
having to make a separate query that passes a form value paramater and
putting that query in the Row Source. I think it can be done another way.
Maybe enter a SQL statement in the Control Source for the list box? If so,
what should the statement look like? SELECT Order from tblOrder where
....pass the account # in text box. I get stuck on what the SQL should look
like in the Control Source section to just show the list of orders associated
with the account # typed in by the employee on the form.
then click the "Submit" button and then see a list of orders associated with
that account pop up in a list box. They then need to be able to highlight
and select multiple orders from that list with the CTRL or SHIFT key
(courtesy of using the Extended List Box feature.) Then once selecting all
desired orders in the list, they click "View" and a query come up showing all
those orders on separate records with miscellaneous information from other
fields in the order table.
At the very beginning, how do you get the specific orders for the account
the user typed in the text box on the form to pop up in a list box without
having to make a separate query that passes a form value paramater and
putting that query in the Row Source. I think it can be done another way.
Maybe enter a SQL statement in the Control Source for the list box? If so,
what should the statement look like? SELECT Order from tblOrder where
....pass the account # in text box. I get stuck on what the SQL should look
like in the Control Source section to just show the list of orders associated
with the account # typed in by the employee on the form.