I have a problem writing a correct If Statement.
So the case goes like this:
I have a database of Contractors that my Company works with. So at the end of each job we evaluate them and give them marks.
If the Contractor gets >80 then we should continue working them him
If the Contractor gets between 70 and 80 then we should send him a Warning
If the Contractor gets <70 then we should stop working them him
This is how I tried writing it in the Form:
= IIf([Evaluation Mark] >80,"Continue Working with the Contractor",IIf([Evaluation Mark] >70 and <80, "Send Warning", "Stop working with the Contractor"))
But this is what I keep getting:
"The expression you entered contains invalid syntax"
"You may have entered a comma without a preceding value or identifier"
(screen shot attached)
So please help me correct it.
P.S.: - The two fields are already included in original Table.
- No query is available.
So the case goes like this:
I have a database of Contractors that my Company works with. So at the end of each job we evaluate them and give them marks.
If the Contractor gets >80 then we should continue working them him
If the Contractor gets between 70 and 80 then we should send him a Warning
If the Contractor gets <70 then we should stop working them him
This is how I tried writing it in the Form:
= IIf([Evaluation Mark] >80,"Continue Working with the Contractor",IIf([Evaluation Mark] >70 and <80, "Send Warning", "Stop working with the Contractor"))
But this is what I keep getting:
"The expression you entered contains invalid syntax"
"You may have entered a comma without a preceding value or identifier"
(screen shot attached)
So please help me correct it.
P.S.: - The two fields are already included in original Table.
- No query is available.