Hello,
I have a small question. I need to qritea query that searches for a DeptNo from 10 fileds. I am not sure how to specify for 10 fields.
SELECT tblSubmissionForm.*
FROM tblSubmissionForm
where Dept1=[EnterDepartment];
In this above query it asks the user to specify the DeptNo and Searches in only Dept1 Filed but what i need is when the user specifies a DeptNo then it should search for that DeptNo in Dept1, Dept2,Dept3,Dept4.....Dept10. How to write a query to do that?
I have a small question. I need to qritea query that searches for a DeptNo from 10 fileds. I am not sure how to specify for 10 fields.
SELECT tblSubmissionForm.*
FROM tblSubmissionForm
where Dept1=[EnterDepartment];
In this above query it asks the user to specify the DeptNo and Searches in only Dept1 Filed but what i need is when the user specifies a DeptNo then it should search for that DeptNo in Dept1, Dept2,Dept3,Dept4.....Dept10. How to write a query to do that?