I would like to put a BETWEEN START DATE AND END DATE in the criteria of a query I have. The start and end will be from an unbound form, but the person does not have to enter the start or end date all the time.
This code works only when there is data in the combo box.
Between Nz([Forms]![fQA_Raw_Materials]![START],#01/01/1900#) And Nz([Forms]![fQA_Raw_Materials]![END],#12/31/2999#)
I need it to return all values when nothing is in the combo box
This code works only when there is data in the combo box.
Between Nz([Forms]![fQA_Raw_Materials]![START],#01/01/1900#) And Nz([Forms]![fQA_Raw_Materials]![END],#12/31/2999#)
I need it to return all values when nothing is in the combo box