M
maria
In a query, in the criteria I write the following IIF statement:
IIf([Forms]![frm_search]![date_1] Is Null,
[tbl_projects].[date],
[tbl_ projects].[date] Between [Forms]![frm_search]![date_1] And
[Forms]![frm_search]![date_2])
In a form named “frm_search†there are 2 combo boxes, named "date_1" and
"date_2".
In the case that I leave the combo boxes null, the query runs without a
problem. But when I write some date in the combo boxes the query don’t show
any records. I revise the dates and it should show some record filtered by
the dates.
Appreciate any help. Thanks
Maria
IIf([Forms]![frm_search]![date_1] Is Null,
[tbl_projects].[date],
[tbl_ projects].[date] Between [Forms]![frm_search]![date_1] And
[Forms]![frm_search]![date_2])
In a form named “frm_search†there are 2 combo boxes, named "date_1" and
"date_2".
In the case that I leave the combo boxes null, the query runs without a
problem. But when I write some date in the combo boxes the query don’t show
any records. I revise the dates and it should show some record filtered by
the dates.
Appreciate any help. Thanks
Maria