crystal reports export to excel cutting off rows - crystal-reports

I am using Crystal Reports for Visual Studio 2010 in an ASP.NET 4.0 web forms application. I have set the report to export in ExcelDataOnly. The report in the builder runs properly and returns thousands of rows. When I export it to Excel I am only getting 145 rows! Does anyone have any idea why this might be? I have no null values in any columns so it is not that. I am setting my content type to application/vnd.ms-excel and I think this is correct, so I am at a loss!!!
Any suggestions would be appreciated!

Turns out the issue was saved data in the report. No matter what I did I could only get the exact same 145 rows. In the end, I recreated the report and now it works perfectly. I have no idea why the data was trapped in that state, but since recreating fixed it, it is fixed.

There is a possibility that you have checked/ selected the option of saving the data with the report. You can go to File--> Below Save AS is the option of selecting the Data to be saved with the Report. Pls uncheck the option and see if it helps.
HTH

Related

Crystal Reports: Adding new data table to results data set

We are using SAP Crystal Reports with Visual Studio 2010.
To enhance our program with a new report, we have created a new data table and added it to our results data set. The problem however is that it is not possible to refresh the results data set in the Crystal Reports editor. As the screenshot shows, a window appears where we are supposed to enter connection credentials, and then we get an error message.
We have already had this problem several times before. Once, when we did essentially the same thing (add a new data table), it worked. So it seems to work sometimes, and sometimes it does not. But: How can we avoid this problem? It is really annoying and so far, I have been unable to add the data table which I have created today. This is a big problem.

Crystal Reports Loading Database info

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.

crystal report 10 report header issue

I had a couple of reports which were working properly in crystal version report 9. While exporting the data to excel, it was working properly. But after upgrading to version 10, when we try to export to excel with data only option, the report header is not formating properly. The Report header has 3 rows, but wen I export it to excel(data only), it displays all in same line in version 10 and in different lines in version 9.
if I put it in different report header sections, issue is solved but there are many reports which makes it very difficult to make that change at all places. is there any other solution for this.
Can anybody help me with this.
Any help in this regard is welcome.
Thanks in Advance
Every version of Crystal Reports "tricks up" the Excel export settings and the formatting results they produce. Your only hope is to look at all the Excel output settings and find a way to recreate your expected output. There is a chance getting the EXACT output is not possible in the new version.
Note, your topic has nothing to do with Reporting Services and should not be tagged that way.

crystal report 9

new page break is not working when exporting from Crystal report 9 using visual studio studio.net.
I have set the below options in crystal report 9 design
paper size is a3 and orientation is landscape.
I have created 2 report groups (date and org unit)
I want a page break after every new date and after every new org unit.
I have already set the new page after in group footer1 and group footer 2.
when i export to excel it doesn't break the page after each group is changed.
Can anybody help me to resolve this issue.
thanks
bby
I said this in another question regarding exporting to Excel:
If this was made with CR, I've found
that if a report is going to
consistently be exported to Excel,
it's best to remove ALL formatting
that CR has/does. Otherwise you'll get
weird anomalies like what you're
experiencing and will save you a lot
of grief down the road.
What I've done for some of my users is
create one report with no formatting,
specifically for exporting, and one
report with all the bells and whistles
of CR.
Page breaks are not understood by Excel during the export. The best bet is to do a grouping on the report and render them as tabs in the Excel document.
Crystal has a long history of problems when exporting to excel. There are quite a few tips about on how to get both good looking reports on the screen and in an Excel worksheet. There is no one answer for your problem, as it really depends on just how your report is structured. I googled on "crystal reports page break excel export" and get plenty of material to look at. For example:
Exporting to Excel in Crystal Reports .NET - Perfect Excel Exports

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