Hi,
This is something simple, and I think it is my syntax that is wrong
I am building a holiday database that will be used for more than 1 year and want to produce reports only for the current Holiday year.
My method of doing this is to have a table that contains ALL holiday data and use a make table query to produce the current holiday years data for the reports to be diven from.
The problem is I want to be able to allow users to change the current year by updating 2 fields in a table with only 1 record - so have used:
Between ([Tbl_Holiday_Year]![Holiday_Year_ Start_Date]) And ([Tbl_Holiday_Year]![Holiday_ Year_Finish_Date])
as the select criteria for the query to filter only this year holidays, now the problem - when the query is run I get pop ups asking to input the start and finish dates instead reading the dates from the table, if I replace with actual dates in the criteria it does what I want it to.
I need it this way as I don't want users having to amend queries for each new holiday year.
Any ideas???
This is something simple, and I think it is my syntax that is wrong
I am building a holiday database that will be used for more than 1 year and want to produce reports only for the current Holiday year.
My method of doing this is to have a table that contains ALL holiday data and use a make table query to produce the current holiday years data for the reports to be diven from.
The problem is I want to be able to allow users to change the current year by updating 2 fields in a table with only 1 record - so have used:
Between ([Tbl_Holiday_Year]![Holiday_Year_ Start_Date]) And ([Tbl_Holiday_Year]![Holiday_ Year_Finish_Date])
as the select criteria for the query to filter only this year holidays, now the problem - when the query is run I get pop ups asking to input the start and finish dates instead reading the dates from the table, if I replace with actual dates in the criteria it does what I want it to.
I need it this way as I don't want users having to amend queries for each new holiday year.
Any ideas???