I have a list box, lstVehicleMileage.
The SQL in the Row Source is: SELECT [MileageID], [UnitTypeID], [UnitName], [UseDate], [BeginMileage], [EndMileage], [TotalMileage] FROM qryVehicleMileageUser ORDER BY [UseDate] DESC;
I want it to only get the records of the Employee on the form. I want it to look for [EmployeesID] in that query. The form is called, frmVehicleMileage.
Is there a way to write the criteria in the list box instead of the query? That way, I can use that same query for something else also.