I've been working on this way to long and I am finally giving in and asking for help, please.
I have a form with 3 combo boxes that are linked cbodivision, cbodept, and cbosubdept. When you pick a division, the cbodept box will only show you the choices that are related to the division. The same with cbosubdept you will only see the choices that are related to the dept that was chosen.
The problem that I am having, is when you select the choices it shows the ID Numbers instead of the Name. Is there a way to fix it so it shows the name not the number and still performs correctly. It seems that when I change the bound column to 2 it won’t show the related choices, it just shows me nothing.
My form is based on an Employee Table with a subform of my office affiliation table which has the 3 combo boxes. I’m using the following row source SQL statement in my combo boxes.
[Forms]![Employee Form]![Office Affiliation Subform]![cboDivision] this is my statement for the cbodept box as criteria under the Division ID field.
[Forms]![Employee Form]![Office Affiliation Subform]![cboDept] this is my statement for the cbosubdept box as criteria under the Dept ID field.
I am also using the AfterUpdate to requery the boxes.
Maybe there is another way to do this. Any help would be appreciated. Thanks
I have a form with 3 combo boxes that are linked cbodivision, cbodept, and cbosubdept. When you pick a division, the cbodept box will only show you the choices that are related to the division. The same with cbosubdept you will only see the choices that are related to the dept that was chosen.
The problem that I am having, is when you select the choices it shows the ID Numbers instead of the Name. Is there a way to fix it so it shows the name not the number and still performs correctly. It seems that when I change the bound column to 2 it won’t show the related choices, it just shows me nothing.
My form is based on an Employee Table with a subform of my office affiliation table which has the 3 combo boxes. I’m using the following row source SQL statement in my combo boxes.
[Forms]![Employee Form]![Office Affiliation Subform]![cboDivision] this is my statement for the cbodept box as criteria under the Division ID field.
[Forms]![Employee Form]![Office Affiliation Subform]![cboDept] this is my statement for the cbosubdept box as criteria under the Dept ID field.
I am also using the AfterUpdate to requery the boxes.
Maybe there is another way to do this. Any help would be appreciated. Thanks