I have a requirement where i need to create a section on crystal report multiple times based on a value coming from an XML. I am not using Java or C#. i need to do this within Crystal report.
Version = Crystal Report 2016
If the maximum number of labels is not too high, you could
prepare as much detail sections as will be needed at max,
and control the visibility of each detail section according to your value in "NumberOfLabels"
as shown for MaxRowCount in this answer.
Related
I have a report in Axosoft's ActiveReports where I declare two variables to store the earliest date and the latest date seen in the report, which are evaluated with each line of the Detail section.
I can put the results in the Report Footer. But, I want this Report Date Range to appear in the Report Header on the first page. Is there any way to do that?
I have done this before in Crystal Reports, but can't see how to do it in ActiveReports.
Thanks for any suggestions.
I inherited a report where when you run it, the data will be divided into two columns and four rows on one page. I am wanting to change the format so it displays like a basic report where it's just rows listed straight down on the page. The report is below. I am using Crystal Reports 2008 version 12.3.
Report Design:
Report Preview:
Right click in the gutter of the Details section and choose Section Expert...
Clear the Format with Multiple Columns checkbox
I have a number of reports with current and ytd columns(summary totals by salesman). I want to be able to select the sub-report based on the column clicked. I have one sql procedure that selects current and one that selects ytd. I want to use the same report format (without having to copy and modify it) for current and ytd. Is there anyway of identifying what column is clicked?
Crystal Reports is pretty much just a reporting tool; it's not very interactive.
I'm more familiar with older versions of Crystal Reports, but as far as I know there aren't any onClick methods for columns that can be trapped using pure Crystal Reports.
Depending on how many columns you have, you can create a subreport for each column, but that may be prohibitively slow if you have a large number of columns you want to create subreports for.
If you're using C# or VB.NET to generate the report, you may have more options, but since the question isn't tagged with any programming languages, I'm going to assume this is pure Crystal Reports.
I have a report with several crosstabs in the report header. The problem is that some of them grow down into the ones below them. Is there an option to have each crosstab dynamically determine its starting position based on the end of the previous one?
create multiple report header sections and put one crosstab in each
I am generating and display crystal report from my asp.net application. In the code, i have a array of numbers that I want to be able to display in the report. so if in my code I have int[] {1,4,5,6,8,10 } I want to somehow pass this array to crystal report so that we have 6 rows in the details section of the report where each row is showing one value from the array..so we will have a report like:
1
4
5
6
8
10
is this possible..how..please help
If you are doing this from .Net, you should be able to achieve this by creating a custom dataset and data table, filling the values in the data table as you require, and then provide the datatable as source to your Crystal report.
Have a look at some of these articles, they should help you in the direction you need
Ignore the section where the database corrections are mad.
Focus on the section where it sets the datasource
// Setting data source of our report object
objRpt.SetDataSource(Ds);
Crystal Report with DataSet and
DataTable using C#
Creating Crystal Reports using C#
with Datasets