SAP Crystal Report in Visual Studio 2010 add summary total to report footer to a desktop application - visual-studio-2010

In an existing Visual Studio 2010 desktop application that uses existing Crystal reports, there is a summary amount that appears in the report footer section of the current crystal report. The current calculation is usually close but it changes every time the crystal report is executed. Note I am new to working with Crystal reports and no one else at my company knows how to work with crystal reports. Since I have not been to figure how I can modify the calculation so that the amount is correct, I would like to create a new calculation for this field.
I have tried the following:
Running totals placed into the report footer but I get the result of #####.
I have tried formula fields placed into the report footer but I get the result of #######.
I have tried to use insert summary of the purchase amount in the report footer and I get the ##### message.
I have followed the directions in the following link and it did not work:
http://arstechnica.com/civis/viewtopic.php?t=111265
Thus can you tell me how to summarize the purchase amount from every detail that is placed into the report so the total appears in the report footer? Also I may need to also reset the value to zero everytime the report is executed. **I am not certain if I need this option.

Look the approach you are following is completely fine and correct. You can use either way to get the summary. The best will be put the Summary field in the Report Footer.
Whenever you place any numerical summary field in any section, or any numeric value fields in crystal, make sure you allot proper width to the text object or the formula field placed in report.
In case, the value is in millions, and width is less and only proper to show thousands, you will get "####" rather than the value. This indicates you have increase the width of the field.
Let me know if this helps, and in case you face any other issue?

Related

suggestion where to look to find why my report has extra blank pages

I am on Msoft SQL Server Report Builder, v15.0
I have a multi page report that no matter that forces a blank page every 2nd page.
I have searched through the tablix properties, report properties, header & footer properties and have not found a culprit yet.
I fear that there are somehow some hidden pieces that are causing this issue, but I do not know how to be able to see the hidden pieces.
I have opened the .rdl file up in notepad++ and started walking through the code, but I am not certain where I should look at in there that would cause my problem.
It is a 10 column report that is generated from a dataset culled down, but the report has 3 calculated fields in it, including a column which generates a ranking number.
If you know of a explicit piece of code I should search for that would be awesome, but I know that is a needle in a snowpile.....
Found finally what I had done...
my durn body was the same width as the page sheet so it was pushing the margins off and creating a new page.
Here is a good walk through of what I found.....
http://www.keepitsimpleandfast.com/2009/12/export-of-reporting-server-reports-to.html

telerik report barcode control add blank page

I have a Telerik report that is working as expected. The report list items in several pages.
The report consist of several columns displaying items' fields.
Once I add a barcode control to the items' columns, the report begin to produce a blank page after every single page.
I am sure that the barcode control is behind this issue as once I remove the barcode control, things are back to normal.
Even If I add a textbox instead of barcode the report print as expected.
I have tried all the available features to get rid of the added blank page but could not succeed.
Please advise and many thanks
ps. I am using Telerik Reporting Q1 2016
I believe your issue is related to the barcode.
I have found that the field can grow and cause objects to move around when you don't want them.
I would put the barcode on to another report against the same data to see how wide the actual barcode is. This will help you get an idea as to what Telerik is doing and then come up with a game plan.

BIRT generate dynamic reports

I created a report in birt, where I would like to click on one of the data points in the report. Then it should link to a new dynamically generated report, that shows the data from the date where I clicked on the last report.
I got a little .gif for you, to demonstrate what I've already done.
HERE
I did this by creating two reports. The first one being the graph with the two lines which represent random test data. When I press on one of the rectangles from the graph, a hyperlink gets called, which sends me to the second report. This was done by adding a mouse click interaction on the Y values with a drill-through that directs you to another report.
Here is my problem: I want the 2nd report to dynamically adapt according to the date which I selected on the first report. Like seen in the example .gif. Select 31.07.2017 -> show detail from that date.
I don’t want to create a new report for every single date and manually link every single one of them to the correct date. This would be tedious and with updating, new data every day it would also be impossible to maintain.
So how do I do this?
Alright, I made it work with data set parameters and report parameters.
Details for the answer can be found HERE
All I had t do is define a paramater and pass the values from my report 1 to my report 2 via the parameter and its working!

BIRT: Fit to whole page in report design?

I have a report and want to fix it to 1 page (A4) regardless of the number of rows in the table. Usually it's 10 rows but can be more in some cases.
Anyway I need to use BIRT in a fixed context (3rd party application), eg. no option to adjust the BIRT viewer or url params. Therefore how can I add this option to my report design so that it is applied automatically?
I don't think it is possible to force a render option from the report-design. If it was it would probably achieved by using this code fragment from "beforeRender" script of the report:
importPackage(Packages.org.eclipse.birt.report.engine.api);
reportContext.getRenderOption().setOption(IPDFRenderOption.PAGE_OVERFLOW,IPDFRenderOption.FIT_TO_PAGE_SIZE);
I tried it, it appears at this stage the BIRT task has already applied render options and therefore this new value is ignored.
If you have access to the source code of this third party app it is quite easy to add a "Fit to" PDF render option.
Otherwise you will have to change the report-design and make it a little bit more dynamic: there are many design tips allowing to fit a report in a single page, one of them is to change the height of some items by script depending on the number of rows of the table.

Crystal Reports - display caption from dataset, not column name

I have a Crystal Report that is is simply from a DataSet which I populate at runtime. The problem is, on the report I want some of the columns to have different capations - for example, I have the following fields in my report
Sell Total
Profit Total
Net Total
I want all of these columns to be displayed just as 'Total' on my report - I have tried setting the 'Caption' property but Crystal seems to ignore this, and there appears to be no way on the IFIeldObject to change the text.
Chris,
It's a bit tricky to visualize what you are trying to do. That said, one route might be to actually just hide the fields that Crystal Reports is using and make your own formula driven labels in the group/section footer, or whatever area you see these in.
Unless I've misunderstood, and it is somewhere that can't have the captions replaced easily (charts come to mind).

Resources