P.S.W.
Aug 8th, 2000, 01:18 PM
Hi everybody!
I am trying to create a program that will create reports using a range of data that the user specifies. I am using the DED and Data Report Designer.
My problem is this: I have a pop-up form collect the range of dates for preparing the report, and then I try to reset the SQL statement for the appropriate command object/recordset using those dates, then show the report. I can't figure out how to make it work.
First off, the DED recordsets don't support a "refresh" method. Also, after changing the .Source property to reflect the modified SQL, the report still prints out -all- the dates. If anyone can help me with the steps/code necessary to make this work I would be grateful.
I am trying to create a program that will create reports using a range of data that the user specifies. I am using the DED and Data Report Designer.
My problem is this: I have a pop-up form collect the range of dates for preparing the report, and then I try to reset the SQL statement for the appropriate command object/recordset using those dates, then show the report. I can't figure out how to make it work.
First off, the DED recordsets don't support a "refresh" method. Also, after changing the .Source property to reflect the modified SQL, the report still prints out -all- the dates. If anyone can help me with the steps/code necessary to make this work I would be grateful.