bdsii
02-02-2011, 03:10 PM
Hello all.....I am still learning my way around Access and think VBA may be the required way to solve my problem. I attaching a sample Access 2007 database that illustrates simply (I hope) my questions.
I need to use a form with combo boxes to assist in a search of the table. If the user knows one of the three options, they can use the drop down to select the data they know which then limits the info under each of the other two drop-downs. The user can then choose one of the other two drop downs and select from the available options and then move to the third drop down. The data under the third drop down is limited by the selections of the first two and the user can select the final piece of the puzzle. After making their selections from the three combo boxes, the user hits a command button that opens a different form displaying the additional data from the record corresponding to the selections made on the previous form.
I have created a sample table, query tied to a form and then the form that should open when the command button is clicked. They are attached.
So.....how do you limit two combo boxes based on a selection in the third ? Plus, the user can choose any of the three combo boxes in any order they wish and not in any order.
Do I need the query I created or should the combo boxes be tied to the table directly instead ?
I would appreciate the help if anyone is willing to help answer these questions. I am still learning but cannot figure this one out.
Thanks in advance ! :-)
I need to use a form with combo boxes to assist in a search of the table. If the user knows one of the three options, they can use the drop down to select the data they know which then limits the info under each of the other two drop-downs. The user can then choose one of the other two drop downs and select from the available options and then move to the third drop down. The data under the third drop down is limited by the selections of the first two and the user can select the final piece of the puzzle. After making their selections from the three combo boxes, the user hits a command button that opens a different form displaying the additional data from the record corresponding to the selections made on the previous form.
I have created a sample table, query tied to a form and then the form that should open when the command button is clicked. They are attached.
So.....how do you limit two combo boxes based on a selection in the third ? Plus, the user can choose any of the three combo boxes in any order they wish and not in any order.
Do I need the query I created or should the combo boxes be tied to the table directly instead ?
I would appreciate the help if anyone is willing to help answer these questions. I am still learning but cannot figure this one out.
Thanks in advance ! :-)