I have the following criteria in a query but can'y seem to get it right
IIf([Forms]![Report_Criteria_Selection]![Type_Selection]=19,[Date_TaxPoint]) Between DateAdd("d",25,[Forms]![Report_Criteria_Selection]![Start_Date]), [Present_Date] Between DateAdd("d",25,[Forms]![Report_Criteria_Selection]![Start_Date])
So if someone selects type 19, then TaxPoint will be filtered, otherwise the Present Date will be filtered
Any help appreciated
Thanks
Geoff
IIf([Forms]![Report_Criteria_Selection]![Type_Selection]=19,[Date_TaxPoint]) Between DateAdd("d",25,[Forms]![Report_Criteria_Selection]![Start_Date]), [Present_Date] Between DateAdd("d",25,[Forms]![Report_Criteria_Selection]![Start_Date])
So if someone selects type 19, then TaxPoint will be filtered, otherwise the Present Date will be filtered
Any help appreciated
Thanks
Geoff