I am trying to write some ADO statements to enter a sum from a query in a report footer section. My ADO statements open the query as the recordset, then assign the sum to a textbox. The query, however, requires two parameters, beginDate and endDate. I am having trouble using this query in my report because i can not figure out how to enter the parameters in my ADO statements. Is there any way to write an ADO statement that opens a recordset and prompts for parameters? Or is there a way to pass the parameters when opening the recordset? Thanks for the help!