TheAceMan1
I have a database that is user active. They Imput thier own data and update thier own tables. I have a field that they want to filter by whatever value they select in a multivalue list box accessed from a form. My problem is that They can only select one, or all of values. I use the "Like ([Forms]![SalesMgrForm]![StatusList])" in the filter of the access query. Here is the SQL of the qry:SELECT [Tbl LeadDetail].ID, [Tbl LeadDetail].[Lead Status], [Tbl LeadDetail].[Date called], [Tbl LeadDetail].[Lead Date], [Tbl LeadDetail].[Call Back Date], [Tbl LeadDetail].IMSalesRep, [Tbl LeadDetail].IMSalesMgr, [Tbl LeadDetail].[Lead Source], [Tbl LeadDetail].AccName, [Tbl LeadDetail].AccCity, [Tbl LeadDetail].AccAddress, [Tbl LeadDetail].AccSt, [Tbl LeadDetail].AccContact, [Tbl LeadDetail].[Decision Maker], [Tbl LeadDetail].AccPhone, [Tbl LeadDetail].Corpcd, [Tbl LeadDetail].Billtocd, [Tbl LeadDetail].[Ship Full Ld], [Tbl LeadDetail].[% OTRfreight], [Tbl LeadDetail].[% IM freght], [Tbl LeadDetail].LPW, [Tbl LeadDetail].LPM, [Tbl LeadDetail].Commodity, [Tbl LeadDetail].[Primary Ship1], [Tbl LeadDetail].[Primary Ship2], [Tbl LeadDetail].[Primary Ship3], [Tbl LeadDetail].[Primary Cn1], [Tbl LeadDetail].[Primary Cn2], [Tbl LeadDetail].[Primary Cn3], [Tbl LeadDetail].[Ship International], [Tbl LeadDetail].[International Dest1], [Tbl LeadDetail].[International Dest2], [Tbl LeadDetail].[International Dest3], [Tbl LeadDetail].[Email Address], [Tbl LeadDetail].[Interested in Sales call], [Tbl LeadDetail].[Sent Contact Info], [Tbl LeadDetail].[Won Business], [Tbl LeadDetail].[Loads Tenderd], [Tbl LeadDetail].[Spot Quotes], [Tbl LeadDetail].Notes
FROM [Tbl LeadDetail]
GROUP BY [Tbl LeadDetail].ID, [Tbl LeadDetail].[Lead Status], [Tbl LeadDetail].[Date called], [Tbl LeadDetail].[Lead Date], [Tbl LeadDetail].[Call Back Date], [Tbl LeadDetail].IMSalesRep, [Tbl LeadDetail].IMSalesMgr, [Tbl LeadDetail].[Lead Source], [Tbl LeadDetail].AccName, [Tbl LeadDetail].AccCity, [Tbl LeadDetail].AccAddress, [Tbl LeadDetail].AccSt, [Tbl LeadDetail].AccContact, [Tbl LeadDetail].[Decision Maker], [Tbl LeadDetail].AccPhone, [Tbl LeadDetail].Corpcd, [Tbl LeadDetail].Billtocd, [Tbl LeadDetail].[Ship Full Ld], [Tbl LeadDetail].[% OTRfreight], [Tbl LeadDetail].[% IM freght], [Tbl LeadDetail].LPW, [Tbl LeadDetail].LPM, [Tbl LeadDetail].Commodity, [Tbl LeadDetail].[Primary Ship1], [Tbl LeadDetail].[Primary Ship2], [Tbl LeadDetail].[Primary Ship3], [Tbl LeadDetail].[Primary Cn1], [Tbl LeadDetail].[Primary Cn2], [Tbl LeadDetail].[Primary Cn3], [Tbl LeadDetail].[Ship International], [Tbl LeadDetail].[International Dest1], [Tbl LeadDetail].[International Dest2], [Tbl LeadDetail].[International Dest3], [Tbl LeadDetail].[Email Address], [Tbl LeadDetail].[Interested in Sales call], [Tbl LeadDetail].[Sent Contact Info], [Tbl LeadDetail].[Won Business], [Tbl LeadDetail].[Loads Tenderd], [Tbl LeadDetail].[Spot Quotes], [Tbl LeadDetail].Notes
HAVING ((([Tbl LeadDetail].[Lead Status]) Like ([Forms]![SalesMgrForm]![StatusList])) AND (([Tbl LeadDetail].IMSalesMgr) Like [Forms]![SalesMgrForm]![ReportSalesMgr]));
Also thanks for the other two links, I found them very helpful
B555