I am having problems with my query. Here is the SQL:
SELECT qryFinance.SectionNo, qryFinance.AbbrevSect, qryFinance.GLAccountNo, tblFinCodesCapitalAsset.Description, qryFinance.DESCRIPTION, [highwayname] & " - " & [Project Description] AS RepDescrip, Right$([GLAccountNo],4) AS vExpense
FROM (qryFinance LEFT JOIN qryFinanceProjectNames ON qryFinance.AbbrevSect = qryFinanceProjectNames.AbbrSectionNo) INNER JOIN tblFinCodesCapitalAsset ON qryFinance.GLAccountNo = tblFinCodesCapitalAsset.Code
WHERE (((Right$([GLAccountNo],4))>=3000 And (Right$([GLAccountNo],4))<=3999));
I am getting a Data Type Mismatch in Criteria Expression. How do I do this? Thank you in advance for your help!:banghead:FROM (qryFinance LEFT JOIN qryFinanceProjectNames ON qryFinance.AbbrevSect = qryFinanceProjectNames.AbbrSectionNo) INNER JOIN tblFinCodesCapitalAsset ON qryFinance.GLAccountNo = tblFinCodesCapitalAsset.Code
WHERE (((Right$([GLAccountNo],4))>=3000 And (Right$([GLAccountNo],4))<=3999));