please tell me what is wrong with this syntax:
My form is using a checkbox. The checkbox inquires wheter I want to use this date or not? But when I pull it up, it doesnt' work, please tell me what is wrong with my query?
IIf([Forms]![Search]![UseDate].[Value]=True,([Compliance2].[Date]) Between [Forms]![Search]![DateFrom] And [Forms]![Search]![DateTo],[Compliance2]![Date])
My form is using a checkbox. The checkbox inquires wheter I want to use this date or not? But when I pull it up, it doesnt' work, please tell me what is wrong with my query?
IIf([Forms]![Search]![UseDate].[Value]=True,([Compliance2].[Date]) Between [Forms]![Search]![DateFrom] And [Forms]![Search]![DateTo],[Compliance2]![Date])