iworkonline
Registered User.
- Local time
- Today, 04:45
- Joined
- May 25, 2010
- Messages
- 44
Hi Guys
I have a combo box and a list box on my form.
Combo Box values are populated form a table and list box values are popluated with the folowing query
When I open the form the combo box values are populated which is ok and list box is blank which is also fine.
I want to update the list box with data in the Reasons table based on the choice in the combo box.
I am not sure how will I accomplish this task?
I am thinking that I may have to write code in the Combo Box's After_Update event.
Thanks for your help.
I have a combo box and a list box on my form.
Combo Box values are populated form a table and list box values are popluated with the folowing query
Code:
SELECT Actions.Customer_Scenarios, Reasons.Reason
FROM Actions INNER JOIN Reasons ON Actions.Action_ID = Reasons.Reason_ID
WHERE (((Actions.Customer_Scenarios)=[Forms]![Shippper_Info]![cmbActions]));
When I open the form the combo box values are populated which is ok and list box is blank which is also fine.
I want to update the list box with data in the Reasons table based on the choice in the combo box.
I am not sure how will I accomplish this task?
I am thinking that I may have to write code in the Combo Box's After_Update event.
Thanks for your help.