You can set up the criteria in a new column in the query grid like the following:-
---------------------------
Field: IIf([Forms]![SalesData]![StartDatetxt] Is Null, True, [SalesDate] Between [Forms]![SalesData]![StartDatetxt] And [Forms]![SalesData]![EndDatetxt])
Show: uncheck
Criteria: True...