M mon Sep 24, 2003 #1 Hi, I would like to make a query where the user puts in beginning date and end dates for the query Thanks Monika
Hi, I would like to make a query where the user puts in beginning date and end dates for the query Thanks Monika
S Sambantham Kuppusamy Sep 24, 2003 #3 Monica, In the query put some user variables in the where (Criteria) like this: Between [form1]!Date1 and [form1]!Date2 So when the user runs the query it will pop up 2 dialog boxes for date1 and date2. These will be filtered and you will get only required rows. SAM
Monica, In the query put some user variables in the where (Criteria) like this: Between [form1]!Date1 and [form1]!Date2 So when the user runs the query it will pop up 2 dialog boxes for date1 and date2. These will be filtered and you will get only required rows. SAM
F Fredg Sep 24, 2003 #4 Monika, If you are not using a form to enter query parameters, then, In the Date field's criteria line, write: Between [Start Date] and [End Date] When the query is run, a parameter box will ask for each date. -- Fred Please reply only to this newsgroup. I do not reply to personal e-mail. Remove nothing from my address
Monika, If you are not using a form to enter query parameters, then, In the Date field's criteria line, write: Between [Start Date] and [End Date] When the query is run, a parameter box will ask for each date. -- Fred Please reply only to this newsgroup. I do not reply to personal e-mail. Remove nothing from my address
F Fredg Sep 24, 2003 #6 Change the query criteria to: Between forms!FormName!StartControlName and forms!FormName!EndControlName The form must be open when the query is run. -- Fred Please reply only to this newsgroup. I do not reply to personal e-mail. Remove nothing from my address
Change the query criteria to: Between forms!FormName!StartControlName and forms!FormName!EndControlName The form must be open when the query is run. -- Fred Please reply only to this newsgroup. I do not reply to personal e-mail. Remove nothing from my address