I'm designing a front end for an Access database and I want to print Access reports that are based on Access queries. The queries require a date range and I know how to paas the dates from an Access form but does anyone know how I can do it from a VC++ form? I'm using Dao Recordsets and I'm using automation to print the reports. Actually, I'm using the CAccessReports class from the CodeGuru site, which I think is great, by the way.

Thanks in advance.