i have just tried to amend my query. the idea is that the initial results are to show all items that are instock. ie have a value >0. if i click a check box i want to display all items that are available regardless of stock.
so my criteria expression is as follows
IIf([Forms]![frmDepartures-AddRetail]![checkShowAllAvailable]=True,([tblItems].[StockQTY])<999,>0)
however this does not show the desired results. the results seem to be ignoring the > and < and refering to it as =. if i have items that are 0 stock they will show on false but all other items do not show on true
why is the query ignoring the > and < please
thank you
so my criteria expression is as follows
IIf([Forms]![frmDepartures-AddRetail]![checkShowAllAvailable]=True,([tblItems].[StockQTY])<999,>0)
however this does not show the desired results. the results seem to be ignoring the > and < and refering to it as =. if i have items that are 0 stock they will show on false but all other items do not show on true
why is the query ignoring the > and < please
thank you