Search code examples
crystal-reports

How can I update multiple crystal reports at one time?


I want to make changes to multiple reports at one time, e.g., add the same logo to all of the report headers, etc., but I don't want to open each report manually and make the changes as there are many of them. Is there some way to script this? I have not found anything in the designer (CR2008) that would do this, but if I am missing something, I would greatly appreciate a point in the right direction.


Solution

  • If you are launching your reports from software you control, then I believe you can add code in the software to take advantage of Crystal's API and dynamically load the logo into a control. Alternatively, I think there might be an option to have reports reload their subreports every time you use them. Not positive about that, but if there is then you could add your logo as a subreport and turn this option on, and then you'd only need to update the subreport.