I have a header subreport who is used in a lot of reports. (about 40-50 reports)
I want the header to be up to date without doing anything manually each time.
Do you know how it can be done ?
By the way, my crystal reports version is 10.5 (The default one in VS2008)
Depending on how the subreport is implemented, you may have some options. Subreports can be made either completely embedded in the parent report OR imported on opening of the parent file.
For example, open up a few of your parent reports and right-click on the subreport. Go into the sub-report's properties menu. If you see a re-import when opening option, then it's not embedded.
I'm not sure what your question is, exactly. If you are designing these reports and want to make a sort of Master/Template SubReport, then you should make it independently, import it into each report, and check the option to automatically re-import the subreport every time the main report is accessed. This way, you only have to update the 1 Master/Template SubReport and all the Parent Reports will be auto-updated next time they're opened.
Related
I'm having trouble with subreports in Jasper studio. Currently I'm working on template where I would like to add header / footer / maybe title as subreports. The reason is that I have around 100 reports where I want to add this "shared footer/header ... " so that if anything changes in future I would only have to change it in one file.
About
For example I have my main report that contains two subreports header / footer. When I upload all these reports to server and run main report, it works fine.
Let's say that I change text in header and I upload it to server and again run main report I can see changed text in header.
Problem:
Now when I work on this report locally and I hit Preview I always see some cached version of that subreport from very early stage when I was making this header subreport.
What I tried:
added -clean to .exe (target)
deleted folder in file:/C:/Users/..../AppData/Local/Temp/
Project - Clean - Clean all project
restarted PC
Subreport settings:
Using cache : false
Expression: "repo:/....."
So far I do not know, where could be the problem... why does the preview tab just do not update that subreport content. How can I remove that cache ?
My solution:
How I managed to make it work is that I went to repository explorer in Jasper Studio I've located my "footer subreport" and I've clicked to that little arrow that opens all files for that report and I used "Open in editor" for main_jrxml file. When I compiled this file I was able to use newest version of this subreport in my main report preview :)
I have around 150+ reports that have a subreport as a footer. In this subreport is some basic company information.
I have to add some more information in the footer.
Is there a way to do this fast? Or do I have to manually edit every report to display this new column?
As far as I can tell when you include a subreport in a report this subreport is saved IN the report that you included it in, right?
So changing the footer file won't instantly update all the reports that have the footer included as a subreport?
Is there a faster wya to do this than to manually edit every single report that has the footer as a subreport?
I have SAP Crystal Reports 2011 and use it to edit reports we use with JobBOSS ERP system. These reports were all put in place before I started here and am just now learning Crystal Reports. I am trying to edit the reports but am having issues.
So when I open the report in Crystal Reports the Field Explorer is showing that the file being used to pull fields into the reports is a TTX file. I know nothing about TTX files and assumed I could just find the data in my tables and import it in but apparently that wont mix well from what I am understanding. I have no clue what to do with the TTX and being able to populate the fields on the page with data from another table.
Where do I start with this? All of my forms use the TTX to pull data. Does anyone have any resources that can help me with this?
To change this report, you must use the report version in the JobBoss production report folder (.rpt). Save the .rpt to a work area. Make changes and then place back in the folder retrieved from. You can add tables to this kind of report but cannot change the .ttx table. The report must be run from within Jobboss. Save the original .rpt to a save folder first. Call with questions.
We have Crystal Reports XI and are using Crystal Reports Server XI. We have many reports on Crystal Server but none are using report parameters.
I created a .RPT with 1 parameter called REPORT_TYPE that is a STATIC parameter in my report. For some reason, when I upload the report to Crystal Server, I cannot change the parameter value. I tried the following steps:
Opened the report in Crystal Server and clicked Process -> Parameters
Clicked where it displays the parameter named and [EMPTY] next to the value
I then can type any value I want in the field titled "Enter a value" but when I click update nothing happens. The page does not reload and the value is not stored in the report if I click another tab and go back it still displays [EMPTY]
Any help on this issue would be greatly appreciated! I tried using both the latest version of Chrome and IE (also with and without Computability View).
What you can do is modify the report on crystal and upload it again into the server. If you don't have the report, preview it and download a copy as crystal reports.
You can also do a repository connection. It will allow you to make changes on a report that is already on the server. In below link you can see how to make the connection.
How to make repository connection with crystal report
I have multiple Crystal Reports rpt files and I need to create only one file from them. The file might be any type of rpt, pdf, doc, excel etc.
My problem is that the report files contain subreports and creating a new report and adding them as subreports doesn't seem to work correctly, not showing the data from subreports in subreports.
I know that CR doesn't support subreports in subreports but I need to find a workaround to create only one file from the reports that I have.
Please help !
Not a problem.
Step 1: Export all your Crystal Reports to PDF.
Step 2: Use a freeware PDF merger to merge them all together.
I made a quick google search and found http://www.pdfsam.org/. According to the FAQ, they also have a command-line version (if you need to automate this process, that's the way to go).
Probably the biggest problem you'll have is making all these separate PDFs look like a single document. You might have to get creative with things like page numbers.
You should be able to create one report that contains all of the subreports. If there is no link (join) between the data, it should still work. If there is one (or more) between them, that should be possible too.