Hey everyone...
I have a form that the user selects from 3 combo boxes. Each box generates specific values in the next (they are dependent upon each other). After all 3 are selected, a text box is populated based on those 3 combo boxes.
How would I populate the txt box based on 3 combos? This is the DLOOKUP I have for one record. The txt box is based off the company, subcompany, and department. All 3 of those equals ONE record in the txtBCCoord box:
txtBCCoord = DLookup("[BCCoord]", "[CFR-Master]", " [Company]=cboCompany")
Would I do an "and" after the [company] = cboCompany? I'm trying that and it's not working. Any thoughts?
Thanks.
I have a form that the user selects from 3 combo boxes. Each box generates specific values in the next (they are dependent upon each other). After all 3 are selected, a text box is populated based on those 3 combo boxes.
How would I populate the txt box based on 3 combos? This is the DLOOKUP I have for one record. The txt box is based off the company, subcompany, and department. All 3 of those equals ONE record in the txtBCCoord box:
txtBCCoord = DLookup("[BCCoord]", "[CFR-Master]", " [Company]=cboCompany")
Would I do an "and" after the [company] = cboCompany? I'm trying that and it's not working. Any thoughts?
Thanks.