Why not simply store the year in a local table and include that table in your queries?
Also using a text value as a year isn't very efficient, you'd be better off storing it as a date and simply extracting the year portion in your queries.
i do understand, may be i don't know how to do it. What iam trying to do is Use a Single Query and a Report for Different forms. Iam able to open a Query with DoCmd.OpenQuery but DoCmd.OpenReport gives and unknown error.
if the form (frmReports) is open, and the combo box is filled, then the query should work.
are all these true?
and there are no spaces in around the asterisk in the criteria: "*"
if the query works, then the report aint far behind.