Im trying to get a parameter for my query to show all data in a query if a combo box is selectd with 'All', however if any other value is selected (numerical) I want it to show the data that is only between that selected value +- 30 each way (threshold tolerance).
Any idea on how I can fix this to make it work properly? The true value works properly, just not the false statement. It returns no data at all when false.
Like IIf([Forms]![Frm_Analysis]![Field1]="All","*",Between ([Forms]![Frm_Analysis]![Field1] -30) And ([Forms]![Frm_Analysis]![Field1]+30))
Any idea on how I can fix this to make it work properly? The true value works properly, just not the false statement. It returns no data at all when false.
Like IIf([Forms]![Frm_Analysis]![Field1]="All","*",Between ([Forms]![Frm_Analysis]![Field1] -30) And ([Forms]![Frm_Analysis]![Field1]+30))