Stevehewitt
IS-IT--Management
Hi Everyone,
The database tables I am running the query against is third party, so I'm stuck with having the date stored as: YYYY-MM-DD HH:MM:SS
When reporting, we don't report on the time - just the date; so I have the following as the criteria in my query:
However, I want to be able to change the query from a standard parameter query to using the [FORMS] function to pull the date from a field that is entered into a form.
Obviously the issue is that they will just be entering in a date and no time; so I need to keep using 'LIKE' in the query.
Any ideas how to incorporate a [FORMS]![frmDateReport]![txtDate] parameter into the query above?
Cheers,
Steve.
"They have the internet on computers now!" - Homer Simpson
The database tables I am running the query against is third party, so I'm stuck with having the date stored as: YYYY-MM-DD HH:MM:SS
When reporting, we don't report on the time - just the date; so I have the following as the criteria in my query:
Code:
Like Format([Enter the date],'yyyy-mm-dd') & ' *'
However, I want to be able to change the query from a standard parameter query to using the [FORMS] function to pull the date from a field that is entered into a form.
Obviously the issue is that they will just be entering in a date and no time; so I need to keep using 'LIKE' in the query.
Any ideas how to incorporate a [FORMS]![frmDateReport]![txtDate] parameter into the query above?
Cheers,
Steve.
"They have the internet on computers now!" - Homer Simpson