Hi,
I have read through many posts but still cant figure this out....
I made a search form that includes
-StartDate EndDate
-Machine#
(and would liek to add a few more)
I would like the user to be able to - Enter 2 dates and have it show all records between dates - and/or enter machine# and see records associated with that machine......and a few other things (which I will worry about once I get these two to work)
I have a query in design view that has
LoadDate
Between StartDate And EndDate
Machine#
Like Machine# &*
But this isn't working as expected.....what am I missing.
Here is the actual code I used....note: the field names I used above were for simplicity in explaining.....
SELECT tblLoad.LoadID, tblLoad.LoadDate, tblLoad.AutoclaveID, tblLoad.LoadNumber, tblLoad.BI, tblLoad.[Process Challenge Device], tblLoad.[Cycle Complete], tblLoad.[Cycle Aborted]
FROM tblLoad
WHERE (((tblLoad.LoadDate) Between [Forms]![frmSearchMenu].[qLoadDate1] And [Forms]![frmSearchMenu].[qLoadDate2]) AND ((tblLoad.AutoclaveID) Like [Forms]![frmSearchMenu].[qLoadAuto] & "*"));