And also, importantly, you need to have the form open when you run the query. If you are running the query manually, you will be prompted for Forms!frmCriteria!cboMonth, but in VBA you would get a missing parameter error, I believe, if frmCriteria was not open.
|