ST4RCUTTER
Registered User.
- Local time
- Today, 04:17
- Joined
- Aug 31, 2006
- Messages
- 94
I've searched through many posts here and read many off forum as well. The more I read, the more I am getting confused as to which method would work best.
Setup:
I have a table for work orders called tbl_workorders. This table has a many to one relationship to the table of customers. The field customer_ID is a foreign key on the Work order table and a primary key on the customer table.
What I'm trying to do:
I want two combo boxes with several text fields below for each of the fields on the work order table. These text fields would automatically update when values are chosen from the two combo boxes above.
I want the user to select a customer name from a combo box. This would then limit a list of work order numbers in the second combo box to only those that apply for that customer name. The user then selects the work order number they want and all the text boxes will update to that record.
I have created a query that contains all the fields from the work order table and the single field that I need from the customer table (customer name). At first I tried having the first combo box "look up" all the fields on the table and only showed the single column I needed in the combo box but I ran into a field limitation message when i tried to add all the fields on the query or the table.
How would you build two dependant combo boxes and a series of text fields sourced from a single query?
Setup:
I have a table for work orders called tbl_workorders. This table has a many to one relationship to the table of customers. The field customer_ID is a foreign key on the Work order table and a primary key on the customer table.
What I'm trying to do:
I want two combo boxes with several text fields below for each of the fields on the work order table. These text fields would automatically update when values are chosen from the two combo boxes above.
I want the user to select a customer name from a combo box. This would then limit a list of work order numbers in the second combo box to only those that apply for that customer name. The user then selects the work order number they want and all the text boxes will update to that record.
I have created a query that contains all the fields from the work order table and the single field that I need from the customer table (customer name). At first I tried having the first combo box "look up" all the fields on the table and only showed the single column I needed in the combo box but I ran into a field limitation message when i tried to add all the fields on the query or the table.
How would you build two dependant combo boxes and a series of text fields sourced from a single query?