Good morning,
I have a query in my database that can be accessed from multiple forms. I am using the date and time picker to feed the date range to the query. The date and time picker is on the form and the form must be open for this to work.
On the criteria line of my query I point to the form and object name to find the date as follows:
Between [Forms]![MYFORM]![StartDate] And [Forms]![MYFORM]![EndDate]
My question is this. Since I want to be able to run this query from several forms, does this mean I have to create a new version of the query for each form I want to run from?
Thanks in advance,
Ken
I have a query in my database that can be accessed from multiple forms. I am using the date and time picker to feed the date range to the query. The date and time picker is on the form and the form must be open for this to work.
On the criteria line of my query I point to the form and object name to find the date as follows:
Between [Forms]![MYFORM]![StartDate] And [Forms]![MYFORM]![EndDate]
My question is this. Since I want to be able to run this query from several forms, does this mean I have to create a new version of the query for each form I want to run from?
Thanks in advance,
Ken