L
ldiaz
Between date and date query do not show values when field criterias are null
I have a query with this criteria.
====================================================
Between [Forms]![frm_Shipment_SystemAllDatas]![StartDate] And
[Forms]![frm_Shipment_SystemAllDatas]![EndDate]
====================================================
this shows values from the date entered in the StartDate and EndDate, the
problem is that when the main form is loaded StartDate and EndDate are null
therefore the subform conected to this qyery do not show any value,
I want all datas on the subform even when StartDate and EndDate are null at
the time to load the form
and the criteria must be used after to fill StartDate and EndDate and make a
requery
I was using this criteria in query:
====================================================
Like Nz (>=[Forms]![frm_Shipment_SystemAllDatas]![StartDate] And
<=[Forms]![frm_Shipment_SystemAllDatas]![EndDate],"*")
====================================================
but I just noticed it does not work..
please Help..
I have a query with this criteria.
====================================================
Between [Forms]![frm_Shipment_SystemAllDatas]![StartDate] And
[Forms]![frm_Shipment_SystemAllDatas]![EndDate]
====================================================
this shows values from the date entered in the StartDate and EndDate, the
problem is that when the main form is loaded StartDate and EndDate are null
therefore the subform conected to this qyery do not show any value,
I want all datas on the subform even when StartDate and EndDate are null at
the time to load the form
and the criteria must be used after to fill StartDate and EndDate and make a
requery
I was using this criteria in query:
====================================================
Like Nz (>=[Forms]![frm_Shipment_SystemAllDatas]![StartDate] And
<=[Forms]![frm_Shipment_SystemAllDatas]![EndDate],"*")
====================================================
but I just noticed it does not work..
please Help..