Crystal Reports Loading Database info - crystal-reports

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.

Related

Crystal Report is not displaying current records from the database

good day! my crystal report is not displaying current or latest records from sql server database. i have to remove and add stored procedure again on the Field Section just to see the current records on the report. is there a way to program it to refresh the records automatically? i'm using c#, sql server and crystal report for my project. thank you
Reports files can be saved with data in Crystal Designer. Turn that option off (menu option of File, Save Data with Report).

How do I create one report from multiple Crystal Report rpt files

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.

How to convert SSRS 2008 Server reports to SSRS 2008 Client Reports

I have a large SSRS 2008 Server Report Project (more than 200 reports). Currently my company strategy has been changed and we want to convert these server reports to client reports.
All of the Server reports use stored procedures (or in some cases from the SQL functions)
All of them work properly andthere is no problem
Beause of project scale it is not a good idea to create all of server reports in client again.
So I want to check how to convert SSRS 2008 Server reports to SSRS 2008 Client reports (.rdl to .rdlc).
Note : I know that client reports use Dataset and I have to create Dataset. I'm also looking for a way to generate these dataset too. But for now I'm just looking for a way to convert .RDL files to .RDLC files.
If there are any application which can convert RDL XML to RDLC XML let me know.
Any help appreciated.
After a while I foud this Converting RDL and RDLC Files helpfull
1- Rename the .rdl file to use the .rdlc file extension.
2- In Visual Studio 2008, open the solution or project that will contain the report.
3- Create or add the dataset that defines the data you want to use to your projector solution. For more information, see Creating Data Sources for a Report.
4- On the Project menu, click Add Existing Item and then select the .rdlc file that you created in the first step.
5- In the project, open the form or Web page that will contain the report.

Changing Crystal Reports reports shipped with an application and a runtime version

We have a purchased application (I'm told it's .NET, it's client server, running on Windows XP, connecting to SQL Server 2005) that uses a Crystal Reports runtime and separate report files (.rpt) to do it's reporting function. I have a copy of the CR Designer program but we don't have the CR Enterprise software. I can open the reports in the designer, get to the SQL Server data source (and any others, I guess), add them to the report, run it, print it -- but I can't figure out how to use the same Datasource, which is a subset of the tables in the database that it's connecting to, to do it, and I can't figure out how to save the report files so they'll work with the application. Real gravy would be coming up with new reports.
Is this even possible?
If you open up the report and then go to Database, Set Datasource Location, under the Properties section you will find a lot of info about the datasource and where it is getting it's info from. If the purchased application is creating its own datasource internally though and supplying it to the report at runtime, the best option that I can think of is to start a trace on the SQL Server and then run a report. You should be able to see the SQL that is issued by the Datasource and replicate it in your own version.
You have the possibility to manage your connection's properties at runtime (ie while launching CR from your app). Here is a proposal: Crystal Reports Datasource remap
If you cannot access your app code, you should then do as proposed by #Anthony, by updating all your connection strings in your rpt files, save the rpt files, and copy then on the corresponding report folder of your app: you might have to find where it's located in your system.
First of all, you'd better make sure you're not violating the application's license agreement by attempting to add to it in this way.
It may simply not be possible to add reports to the app in any case - it depends how it loads them and what it does with them.
To use the same datasource, you should just be able to open one of the .rpt files, then go to File > Save As, and give it a new name. Then modify it to what you want. Of course, if you don't know the authentication credentials the app passes to the report to connect, it would be tricky to test it.
It would help greatly if you gave us the name of the purchased application, as we don't really know what you're up against.
It could be that the application is passing through a filter of the data. So when you run the report from Crystal Reports Designer you get the whole data base, however when run through the program the parameters being passed to the report restrict the data back down.
Create a backup of the report. Then edit the existing report, make the changes you require, preview the report to get an idea it looks right, save the report and run the report via the application.
Warning:
As it has already been stated some vendors may not allow you to edit existing reports, your warranty/sport may be voided by editing existing reports, or reports could even be overwritten on the next update.

Storing Crystal Reports in XML files?

I was talking to somebody a recently who mentioned it was possible to store reports created using Crystal Reports as XML files.
Upon Googling this, I can't find anything suggesting that this is the case (using data stored in XML in a report, yes, but actually storing the report, the part stored by default as a .rpt file, no.
Am I correct in assuming that there was in fact some sort of misunderstanding between us and it in fact not possible to do this?
It is not possible to store the report template in XMLformat. XML is supported as export format of the "rendered" report only.
For what purpose do you need the report template in XML format. There is a Java reporting solution called Crystal-Clear which can read the Crytsal Reports report template and save it as XML report template. The other way round this does not work. After you created a XML file you cannot open the report with Crystal Reports again. But you can work with the report using Crystal-Clear which is coming with a GUI-designer too.
Use the Crystal Reports SDK to convert the RPT file format to XML.
There's a GitHub project that will convert RPT to XML. The intent of the tool is to use for diffs, so I don't know if there is a XML to RPT converter. Crystal Reports certainly can not take the XML file and open it like a .RPT file.
At least in version 8.5 XML-file is one of the supported export destinations just like PDF, Excel or Word. Seems unlikely they'd have removed the support in later versions.
I just tested in Crystal Reports 10.
Open up the report you want to export, click on export in the file menu, and at least in CR 10, XML is at the very bottom.
Next a screen appears, asking for directory and base file name to save to. According to the Window it uses "Crystal Markup Language" XML Format