I have VS2008 where i have a report that produces tablix with one field from one dataset. It displays values correctly. They are Numbers (0,00, 10,00, 15,00, 25,00 - using expression =Fields!TaxRate.Value - from thr correct Dataset).
They display correctly in RDL in VS 2008 (using preview).
When I copy RDL, rename it to RDLC and open it in VS 2010 (Azure emulator), in output it creates the correct number of fields in table - but it doesn't fill them with data, they are empty.
All other fields - 100 or more, from 4 or 5 datasets - display correctly.
Here are the screenshots:
In report:
In base:
Can someone show me where I'm making mistakes?
You didn't specify "TaxID" in report.
Related
SSRS 2008, document map label navigates as expected in SSRS; however, when exported to Excel it does not.
Example: The tablix has a row grouping and via the properties has a page break per that (i.e., on Client Group, see Snippet link below). When I run the report and click the document map label name it takes me to the first item in the Client Group (as expected). When exported to Excel, it takes me to the last item in the Client Group... which I don’t want.
Snippet of Advanced Group Properties
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?
I have this RDL report that I created in Visual Studio and it is using a Stored Procedure as the data source. Every column from the SP output is mapped to a text box in the report.
Now, the SP returns multiple rows but in the report, only one of them is getting printed.
I want the report to create a new page for each row returned from the SP.
Is it possible? If so, then how I can do that? All inputs are greatly appreciated.
Thanks
Make a group which ends up being one record per group (RowNumber, etc...) and use the Page Break settings on the group header and hide the detail rows so that only the group or footer is visible.
I have inherited an existing Crystal Report (.rpt) for a report that prints all records in the relevant dataset.
I now want to add selection criteria such that only the results with a matching ticket number are printed on the report.
The selection criteria I have entered is:
{REGISTER.TICKET_NO} = {?sTicketNo}
sTicketNo reflects a text value that I read from a text box in C# and pass to Crystal Reports as parameter. (The parameter passing definitely works. When I add the sTicketNo field to the report, it prints the correct value that I entered in the text box).
The problem is that no matter what selection criteria I enter, the reports never get filtered. It always prints ALL the records regardless of criteria. I have tested with other hard-coded criteria such as selecting only records with non-null values.
I have also tried the advice from C# and Crystal Reports SDK - Selection Criteria Ignored without success.
Is there perhaps anywhere else in Crystal Reports that you have to specify that you don't want all records printed? I have added my selection criteria in menu "Crystal Reports" > "Report" > "Select Expert" > "Record". I am very new to crystal reports. Maybe the author of the report added some setting elsewhere to ignore selection criteria, but I'm not sure where to look...
Had the same problem - found this solution. Worked for us for VS 2010 even though it mentions VS 2005/2008.
Symptom
When upgrading a VS .NET application to use Crystal Reports 2008 in Visual Studio .NET 2005, the selection formula (.RecordSelectionFormula) is ignored.
Cause
In Visual Studio .NET 2005, when the Crystal Windows Form Viewer is added to a Windows Form, the auto-generated code adds two lines of code that set the selection formula to an empty string (""). The viewer's SelectionFormula and ViewTimeSelectionFormula are set to "" by default, thus, the application will ignore selection formulas, be it in the report designer or passed to the report at runtime.
Resolution
To resolve the issue, follow these steps:
Expand Form1.vb|cs to show Form1.Designer.vb|cs.
(form1 denotes the form that contains your viewer)
Double-click on Form1.Designer.vb|cs to show its code.
In the InitializeComponent method, you will find code where the CrystalReportViewer1 properties are set.
Comment out or delete the following two lines:
me.crystalReportViewer.SelectionFormula = ""
me.crystalReportViewer.ViewTimeSelectionFormula = ""
I have seen all the samples of the Birt reports available in eclipse - they do not say how to have multi paged Birt reports - as in what if I have ten tables - and all of them producing different data - These cannot be put in one page.
So how do I add multiple pages to one report?. Or if that is not possible - how do I club multiple reports (Each report containing one page design only :( ) together - without any page breaks
Can we do this without any programming? If not, can someone point to example source code - where merger is demonstrated ?.
I don't know of any tool to combine separate reports automatically.
The simplest way to combine multiple reports into a single report is to copy and paste the report items from the layout tab (Tables, Charts, Cross Tabs etc) of each of the original reports into the layout tab of the combined report.
You can force page breaks between different report items on the Page Break section of the Properties tab within the Property Editor for the relevant report items.
You will need to ensure that the combined report has all required data sources, data sets and report parameters - these can be transferred from the original reports by copying and pasting from the Data Explorer within the original reports, into the Data Explorer in the combined report.