Sorry i guess my title wasn't very conherent. I have a form that pulls from a query in the query is the code listed above in the Criteria field. Is it possible to make an adjustment to it to post all records if the date fields are empty?
(Between [Forms]![Search]![startDate] And [Forms]![Search]![endDate]) Or
([Forms]![Search]![startDate] is null) Or ([Forms]![Search]![endDate] is null)
One other problem I have in the same search form i have 2 checkboxes what would i need to have in the criteria to get it to pull the records marked yes?
I take it that these checkboxes only appear on the Form they are not in the table(s) ie not matching fields in the query
In the Field Row Expr1: Forms!search!checkboxname
In the Criteria YES
The checkboxes are for Pending and Show for appointments they are listed in the query as well but i would like to be able to 1) search for date range 2) to be able to narrow it down further by checking if the Show or Pending box is checked.