Can someone help me out with using a variable in a sql query
I want the global variable to be the condition
SELECT tblMain.autonumber, tblMain.CaseNumber, tblMain.Handler, tblMain.[K-9], tblMain.Date
FROM tblMain, tblDefaultValues
WHERE (((tblMain.Handler)=[tblDefaultValues].[Officer])); is...