Hi,
I know I know that this question was asked too many times. I serached the forum but none of the threads showed me how to solve my issue.
I craeted a simple form named "DateInput" with 2 unbound text controls for the user to inout a date range of the report. I added a command button that will make the user preview the report.
I then added to the report query the required SQL statements based as follows:
Between [Forms]![DateInput]![txtBeginingDate] And [Forms]![DateInput]![txtEndingDate]
Problem is when I run the report it does not pop up the "DateInput" form but ask the paremeters of the date range.
Is ther a missing code that will make the report open the "DateInput" form and get the date range from it and open the report with the right date range.
Reason I want to do it through a form is that I want the user to use a calender control to input the date range.
thanks for the help
I know I know that this question was asked too many times. I serached the forum but none of the threads showed me how to solve my issue.
I craeted a simple form named "DateInput" with 2 unbound text controls for the user to inout a date range of the report. I added a command button that will make the user preview the report.
I then added to the report query the required SQL statements based as follows:
Between [Forms]![DateInput]![txtBeginingDate] And [Forms]![DateInput]![txtEndingDate]
Problem is when I run the report it does not pop up the "DateInput" form but ask the paremeters of the date range.
Is ther a missing code that will make the report open the "DateInput" form and get the date range from it and open the report with the right date range.
Reason I want to do it through a form is that I want the user to use a calender control to input the date range.
thanks for the help