clueless1376
IS-IT--Management
I am using a form with 2 text boxes (to and from date) and 3 combo boxes to put information in a query that is used to filter a report.
I have two questions.
I am trying to make the to and from date display all dates if there is nothing placed in them. I have been using the below format for 2 of my combo boxes. It deals with the Null values in them.
Like IIf([forms]![frmSelection]![cboPerson] Is Null,"*",[forms]![frmSelection]![cboPerson] & "*")
I was wondering if it is possible to write the criteria in the date box to handle the null in the same way.
My second question is dealing with a chkbox field.
The way I was trying to work this in the form was to create a combo box that has completed and not completed in the list. If they pick completed the filter will only return the records with the check box = True. If it's Not completed it will only return the once with check box = False, and if it's null then it will return all records.
Any help is appreciated.
Clueless1376
I have two questions.
I am trying to make the to and from date display all dates if there is nothing placed in them. I have been using the below format for 2 of my combo boxes. It deals with the Null values in them.
Like IIf([forms]![frmSelection]![cboPerson] Is Null,"*",[forms]![frmSelection]![cboPerson] & "*")
I was wondering if it is possible to write the criteria in the date box to handle the null in the same way.
My second question is dealing with a chkbox field.
The way I was trying to work this in the form was to create a combo box that has completed and not completed in the list. If they pick completed the filter will only return the records with the check box = True. If it's Not completed it will only return the once with check box = False, and if it's null then it will return all records.
Any help is appreciated.
Clueless1376