In my project, I have to change record source at run time. I can do this in case of single report in the following way:
dim Report as CrystalReport1
dim rs as new adodb.recordset
Set Report=New CrystalReport1
rs.open "SQL statement...."
Report.Database.SetDataSource=rs...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.