Here's my dilemma,
Let me set it up...
1. I have a job entry form that goes something like this:
Job Number: AP04001 - text box
Appraiser: John Smith - combo box (to select other names)
Reviewer: Alex King - combo box (to select other names)
2. I have a form that a user can utilize to pull up jobs for specific people:
Name: John Smith - combo box
Jobs: AP04001 - list box (displays all jobs under a person)
In my example what SQL can I use for the list box so that it pulls jobs if I select either Alex King or John Smith?
Currently I have this SQL for it but it doesn't seem to work:
SELECT Joblog.JobNo, Joblog.City, Joblog.Status
FROM Joblog
WHERE ((Joblog.Appraiser) Like [Forms]![frmCalendar]![cmbAppraiser1])) OR ((Joblog.Reviewer) Like [Forms]![frmJobSearch]![cmbAppraiser1]))
ORDER BY Joblog.JobNo;
Thanks.
Let me set it up...
1. I have a job entry form that goes something like this:
Job Number: AP04001 - text box
Appraiser: John Smith - combo box (to select other names)
Reviewer: Alex King - combo box (to select other names)
2. I have a form that a user can utilize to pull up jobs for specific people:
Name: John Smith - combo box
Jobs: AP04001 - list box (displays all jobs under a person)
In my example what SQL can I use for the list box so that it pulls jobs if I select either Alex King or John Smith?
Currently I have this SQL for it but it doesn't seem to work:
SELECT Joblog.JobNo, Joblog.City, Joblog.Status
FROM Joblog
WHERE ((Joblog.Appraiser) Like [Forms]![frmCalendar]![cmbAppraiser1])) OR ((Joblog.Reviewer) Like [Forms]![frmJobSearch]![cmbAppraiser1]))
ORDER BY Joblog.JobNo;
Thanks.