I have a form that prints a report based on a ship's sailed date. Some ships have no sailed date, and I would like to print those separately. To achieve this I have put in a checkbox, that when is checked only those ships with sailed date = null will print:
The checkbox is called "SD", and the criteria used in the reports query is:
"IIf([Forms]![Avd01OrderListSD]![SD]=Sann;([AVD01Orders].[Sailed]) Is Null;([AVD01Orders].[Sailed]) Between [Forms]![Avd01orderListSD]![PeriodFrom] And [Forms]![Avd01OrderListSD]![PeriodTo])"
Sann in this statement is the same as True (norwegian access 2003).
The checkbox is not doing what I intended. Why?
Do I have to do something with the checkbox to get it to work (define true/false or something)??
The checkbox is called "SD", and the criteria used in the reports query is:
"IIf([Forms]![Avd01OrderListSD]![SD]=Sann;([AVD01Orders].[Sailed]) Is Null;([AVD01Orders].[Sailed]) Between [Forms]![Avd01orderListSD]![PeriodFrom] And [Forms]![Avd01OrderListSD]![PeriodTo])"
Sann in this statement is the same as True (norwegian access 2003).
The checkbox is not doing what I intended. Why?
Do I have to do something with the checkbox to get it to work (define true/false or something)??