I would like a query where the search criteria is populated from a form - pretty simple so far. However, I would like to include ALL records where the data on the Form in blank
For instance, Form fields...
Name: John Smith
Date: [blank]
Result... All records for John Smith, regardless of date.
I can only assume that my current query is taking the Date field to literally be blank and only returns records where the date is blank (which of course, there arent any).
Because I would like to include the date picker icon, the field type has to be 'Date' and so does not support users to enter an * wildcard. Incidentally, this is the same for the Name field, being taken from a combo box which also will not support * wildcards if the query is to run All members on a set date.
If I enter the * wildcard at the query level, can I get the form to override this wildcard *IF* the appropriate form field is not blank ??
Any ideas please ?
For instance, Form fields...
Name: John Smith
Date: [blank]
Result... All records for John Smith, regardless of date.
I can only assume that my current query is taking the Date field to literally be blank and only returns records where the date is blank (which of course, there arent any).
Because I would like to include the date picker icon, the field type has to be 'Date' and so does not support users to enter an * wildcard. Incidentally, this is the same for the Name field, being taken from a combo box which also will not support * wildcards if the query is to run All members on a set date.
If I enter the * wildcard at the query level, can I get the form to override this wildcard *IF* the appropriate form field is not blank ??
Any ideas please ?