G
Guest
I've got a query that has 2 parameter fields. I think parameter field is the correct term for it. Basically, the query prompts the user for the month and year of the data to be summed.
I've got a report that uses the resultant query as its datasource.
I know it's possible to run the code through VB by using the
DoCmd.OpenQuery "queryname"
but I would like to use Input boxes in VB to obtain the two parameter fields - Month and Year - and then pass them to the query instead of having the user do it again.
Is this possibe?
Thanks
I've got a report that uses the resultant query as its datasource.
I know it's possible to run the code through VB by using the
DoCmd.OpenQuery "queryname"
but I would like to use Input boxes in VB to obtain the two parameter fields - Month and Year - and then pass them to the query instead of having the user do it again.
Is this possibe?
Thanks