How do I get it when I go to run the report the query pops up and asks me to
enter the month, I have people that can't use access and I'm trying to make
it as simple as I can, thanks.
You can make it even simpler than that.
Add a small unbound Form to your table, frmCrit let's call it, with two Combo
Boxes cboYear and cboMonth. cboYear would have as a rowsource a list of all
the years relevant to your application; cboMonth a list of numbers 1 to 12
(with the month names as a second field if you wish).
The Query upon which the report is based would use
=Forms!frmCrit!cboYear
and
=Forms!frmCrit!cboMonth
as criteria on the year and month fields respectively.
You could put a button on frmCrit to print the report, and use Tools...
Startup to make frmCrit the startup form in your database. The user opens the
database; selects a year (it can easily be set to default to the current
year), selects a month, clicks a button and picks up the printout. Can't get
much simpler than that!
John W. Vinson [MVP]