Populate data from query

Experts,
I have attached a Word document that better outlines my objective. I have also attached the latest revised db. I have a need to combine two queries to get me one result. Saving-correct-Area-Support-Mana.docx  StoreBonusRev.mdb
Frank FreeseAsked:
Who is Participating?
 
Rey Obrero (Capricorn1)Commented:
oh my ... i posted  In(4,5)  and you copied  =(4,5)..



AreaSM: (Select [tblEmployee.EmployeeID]
 FROM tblEmployee INNER JOIN tblDesignatedEmployee  
ON tblEmployee.EmployeeID =
tblDesignatedEmployee.EmployeeID
Where tblDesignatedEmployee.StoreID
 = tblStore.StoreNumberID
And tblDesignatedEmployee.EmployeeTypeID In (4,5))
0
 
Rey Obrero (Capricorn1)Commented:
try this revision

And tblDesignatedEmployee.EmployeeTypeID In (4,5)
0
 
Frank FreeseAuthor Commented:
Here's the change I enetered:
AreaSM: (Select [tblEmployee.EmployeeID] 
 FROM tblEmployee INNER JOIN tblDesignatedEmployee  
ON tblEmployee.EmployeeID = 
tblDesignatedEmployee.EmployeeID 
Where tblDesignatedEmployee.StoreID
 = tblStore.StoreNumberID 
And tblDesignatedEmployee.EmployeeTypeID=(4,5)

Open in new window

And here's the error I got:
The expression you entered is missing a closing parenthesis, bracket or verticle bar
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Rey Obrero (Capricorn1)Commented:
missing ")" at the end


AreaSM: (Select [tblEmployee.EmployeeID] 
 FROM tblEmployee INNER JOIN tblDesignatedEmployee  
ON tblEmployee.EmployeeID = 
tblDesignatedEmployee.EmployeeID 
Where tblDesignatedEmployee.StoreID
 = tblStore.StoreNumberID 
And tblDesignatedEmployee.EmployeeTypeID=(4,5))

Open in new window



0
 
Frank FreeseAuthor Commented:
ok...did that with this error:
The expression you entered contains invalid syntax. You may have entered an operand without an operator.

0
 
Frank FreeseAuthor Commented:
well stupid me! that looks to have nailed it. again, thank you
0
 
Frank FreeseAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.