OnTheMoney Level: Guest

|
CR --- query fired twice
I have a report in CR 9 which has a sproc as the underlying datasource. The sproc has some inout arguments which are mapped to some parameter fields in the report.
I instantiate this report from my ASP page. I provide the parameters. I do all this using the objects from CrystalReports.ObjectFactory.
But when I finally call PrintOutputController.Export to make the report, the underlying sproc is fired twice. Once with some default parametes and the other time with the actual parameters that I provide.
Why is it firing twice?
Thanks
|