How would I use a third arguemnt? I have always used this syntax.
Here is a simplified version of the SQL expression:
SELECT qryMathTotal.Campus, qryMathTotal.Grade,
Round(([Students]*Dlookup("[Rate]","[tblExtraInfo]"))+0.4) AS StudentRate
FROM qryMathTotal;
Error Message: Syntax Error (Missing Operator) in query expression
'Round(([Students]*Dlookup("[Rate]","[tblExtraInfo]"))+0.4)'
--
Thanks As Always
Rip
Michel Walsh said:
The problem can be in the neighborhood of that expression but that
expression itself is fine. Note that it is usual, though, to have a
criteria, a third argument, for DLookup.
Do you have the whole SQL statement (as it appears in the SQL view) ?
Vanderghast, Access MVP
Ripper said:
I have a rate that changes from time to time and am trying to multiply a
value [AllStudents]*dlookup("[Rate]","[tblExtraInfo]")
I get an error message. Am I using the wrong syntax or is this
impossible?