I have various fields on a form that are referenced by various different queries. The one that is causing me the most problems is the one that contains Date content
On most of the other fields I use something similar to
Like "*" & [Forms]![frmarchivesearch]![txtinvCustname] & "*"
However when it comes to searching to search for dates this format of line does not appear to work. Is that because '*' is present and it is expecting something similar to #. e.g. is the '*' text related wild card?
If so, what is the solution to the above line where if nothing is present in the box search for everything within that particular date field, however if there is a value that is not null then search for that.
Regards in advance
On most of the other fields I use something similar to
Like "*" & [Forms]![frmarchivesearch]![txtinvCustname] & "*"
However when it comes to searching to search for dates this format of line does not appear to work. Is that because '*' is present and it is expecting something similar to #. e.g. is the '*' text related wild card?
If so, what is the solution to the above line where if nothing is present in the box search for everything within that particular date field, however if there is a value that is not null then search for that.
Regards in advance