Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

syntax error missing operator in query expression

Status
Not open for further replies.

molly

Technical User
Jul 17, 2000
219
0
0
US
I wonder if you can help me. In my query, for this calculated field, i get an error message about a syntax error missing operator in query expression.
what did i do wrong? thanks molly


UnitRM Combined: nz(DLookUp("UnitRM Combined","QryFormulaSummed","[QryFormulaSummed].[FormulaID]='" & tblCostJunction.FormulaID & "'"))

 
Solved. Thanks you anyway, a friend solved it.

for some reason, i have to use VAL in order to make the results right formatted when i run the Qry. Otherwise, it looks left justified. thanks.

UnitRM Combined: Val(nz(DLookUp("[UnitRM Combined]","QryFormulaSummed","[QryFormulaSummed].[FormulaID]='" & tblCostJunction.FormulaID & "'")))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top