frizzel_fry
New member
- Local time
- Tomorrow, 00:38
- Joined
- Sep 25, 2012
- Messages
- 3
I am struggling to modify a query to fit another combo box
My original 'row source' query works fine for my combo box 'cboContraint'
SELECT DISTINCT tblConstraints.Department, tblConstraints.Constraint
FROM tblConstraints
WHERE Department=forms!frmConstraints.cboDepartment.value;
But I created another combo box 'cboConstraint2' based on the same lookup table, only difference is that its based on another combo box 'cboDepartment2'
SELECT DISTINCT tblConstraints.Department, tblConstraints.Constraint
FROM tblConstraints
WHERE Department=forms!frmConstraints.cboDepartment2.value;
the error: Enter parameter value: forms!frmConstraints.cboDepartment2.value
It does not seem to read the parameter ''cboDepartment2'' automatically
Please Help
My original 'row source' query works fine for my combo box 'cboContraint'
SELECT DISTINCT tblConstraints.Department, tblConstraints.Constraint
FROM tblConstraints
WHERE Department=forms!frmConstraints.cboDepartment.value;
But I created another combo box 'cboConstraint2' based on the same lookup table, only difference is that its based on another combo box 'cboDepartment2'
SELECT DISTINCT tblConstraints.Department, tblConstraints.Constraint
FROM tblConstraints
WHERE Department=forms!frmConstraints.cboDepartment2.value;
the error: Enter parameter value: forms!frmConstraints.cboDepartment2.value
It does not seem to read the parameter ''cboDepartment2'' automatically
Please Help
Last edited: