Lifeseeker
Registered User.
- Local time
- Today, 09:28
- Joined
- Mar 18, 2011
- Messages
- 273
Hello,
I have 3 individual tables that feed into one junction table in the middle.
On the data entry form, there are three dropdown combo boxes. The 1st combo box is client area, which can be 3 areas. The 2nd combo box is category, and the 3rd initiative.
I have the recordsource of the first combo box set to the actual client area table. (so it's a query that selects all program areas)
The rowsource of both the 2nd and the 3rd combo box are set to be on the master record table. So for example.....the sql for the 2nd combo box is this:
SELECT Issue_Master.Category, Issue_Master.Client_Area
FROM Issue_Master
WHERE (((Issue_Master.Client_Area)=[FORMS]![Data Entry]![CLIENT_AREA]))
ORDER BY Issue_Master.Category;
there is no error when I run this above query. The problem is when I go back to the main form, and after the I've made a selection from the 1st dropdown, the dropdown content from the 2nd combo box is showing all repeating numbers. (i.e. when I choose an area from the 1st dropdown, I get 2 13s from the category dropdown, and when I choose another program area, I get like 10 3s from the category dropdown.)
I have made sure that the column bound is set to 1 in all of those controls, but it's not giving me the actual text description.
Could anybody help me on this?
thanks
I have 3 individual tables that feed into one junction table in the middle.
On the data entry form, there are three dropdown combo boxes. The 1st combo box is client area, which can be 3 areas. The 2nd combo box is category, and the 3rd initiative.
I have the recordsource of the first combo box set to the actual client area table. (so it's a query that selects all program areas)
The rowsource of both the 2nd and the 3rd combo box are set to be on the master record table. So for example.....the sql for the 2nd combo box is this:
SELECT Issue_Master.Category, Issue_Master.Client_Area
FROM Issue_Master
WHERE (((Issue_Master.Client_Area)=[FORMS]![Data Entry]![CLIENT_AREA]))
ORDER BY Issue_Master.Category;
there is no error when I run this above query. The problem is when I go back to the main form, and after the I've made a selection from the 1st dropdown, the dropdown content from the 2nd combo box is showing all repeating numbers. (i.e. when I choose an area from the 1st dropdown, I get 2 13s from the category dropdown, and when I choose another program area, I get like 10 3s from the category dropdown.)
I have made sure that the column bound is set to 1 in all of those controls, but it's not giving me the actual text description.
Could anybody help me on this?
thanks