Hi all,
Can anyone help me!!
I have a table named appointments with the following fields:
Patient ID|Appt ID|Appt Date|
I use all this fields but add a new calcualted field called New Appointment[Appointment Date]+ 84) to run a query,which produces the following results:
e.g
Patient ID|Appt ID|Appt Date| New Appointment
1 1 01/01/2002 26/03/2002
2 2 05/05/2004 28/07/2004
3 3 06/01/2002 31/03/2002
4 4 06/02/2002 01/05/2002
5 5 03/05/2002 26/07/2002
6 6 15/01/2002 09/04/2002
What i want to do is filter the results based on a date range for the New Appointment field e.g Between #01/01/02# AND #01/04/02#. this works fine if i enter this in the criteria box, however i want to get user input to select the date range using a form. the problem i am having is that when the user selects the date range using a form the table is not being filtered using the selected date range.
Please Help!!!
thanks in advance
Can anyone help me!!
I have a table named appointments with the following fields:
Patient ID|Appt ID|Appt Date|
I use all this fields but add a new calcualted field called New Appointment[Appointment Date]+ 84) to run a query,which produces the following results:
e.g
Patient ID|Appt ID|Appt Date| New Appointment
1 1 01/01/2002 26/03/2002
2 2 05/05/2004 28/07/2004
3 3 06/01/2002 31/03/2002
4 4 06/02/2002 01/05/2002
5 5 03/05/2002 26/07/2002
6 6 15/01/2002 09/04/2002
What i want to do is filter the results based on a date range for the New Appointment field e.g Between #01/01/02# AND #01/04/02#. this works fine if i enter this in the criteria box, however i want to get user input to select the date range using a form. the problem i am having is that when the user selects the date range using a form the table is not being filtered using the selected date range.
Please Help!!!
thanks in advance