Axosoft ActiveReports How to Put Calculated Field on Report Header? - activereports

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.

Related

Create section dynamically within a crystal report

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.

Crystal Reports Data Formatting Issue

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

Crystal Subreport Common Headers

Maybe someone can Help me find the right technique.
I have a number of Crystal Reports that I am updating (Crystal Reports XI).
These reports each have an SQL Function associated with each that either retrieves records from the database (if any meet criteria) or returns an Empty Dataset (which happens daily).
These are executed in a batch process and directs the output to a PDF file which is emailed to users.
I am relatively new to Crystal Reports.
I am attempting to use a common SubReport to format/gather data for the Headers/Footers used in these documents. So far - most of this is working as I would expect. This allows me to use a single SubReport to generate the same Header/Footer in multiple reports (at least that's my goal).
However - I added a Report Footer section to the Main Report - my plan with this was to generate a Report Footer that would contain the following information:
A static Text Message that reads " --- END OF DOCUMENT ---"
The Report Title of the "Main Report"
The Date and Time that the Document was generated and Total Number of pages.
Sounds pretty simple.
So SubReport is named: "END-OF-DOCUMENT-SUBREPORT"
I used the "Special Fields" Data Date, Data Time, & Page N of M
Since the "Special Field" Report Title is returning me the "END-OF-DOCUMENT-SUBREPORT" value I used a Parameter field to pass the Report Title value from the Main Report to the SubReport.
This all works fine - HOWEVER - with the addition of the Linked Parameter Field from the Main to the SubReport - when I execute the report to generate the document - the SubReport ends up showing a blank Report Footer - that I can click on to reveal the "END-OF-DOCUMENT-SUBREPORT" in another Tab.
Without the Parameter field - it didn't do this and the information from the SubReport appeared on the last page of the document.
Is this a standard behavior of Crystal?
I'm not sure how to Suppress the "Drill Down" feature and still display the Report Section.
You can pass variable between you Main Report and sub Report. You can also create variable and assigned them to a sub report. As aMazing mention, creating Header and Report Footer sub report is not common. It is even messy. If you want something generic, I will create a report template that you will use in the future.
Have a good day!

Designing crystal report to match a template

I need to design a crystal report that matches a invoice template. Which means that the page will contain the layout & the crystal report will printout the values in the gives spaces. What is the easiest way to align the labels so that they will print out at the right location on my bill.
For example, If I were to get my printout on the invoice sample shown in the below image, how can I align the today's date label right in front of the date field.
I will try to help to the extent I can:
Logo, Address and date are printed once then those should be in report header so that it will be printed once...
To allign date filed just place the date to the right of the design of the report header.
2.if Bill Number and other items are needed only once then place those in report header.. If place is not sufficient then increase the size of the header of insert a section below.
3.Now group the report with the item and place the Description etc items in group header.
4.Place the values in Detail so that those will repeat for the items if there are more values for each item.
5.For sub total, PST, GST take in group footer. If one is not sufficient then insert a section below for each group footer.
6.For Notes, Total, Paid, Total Due use report footer as these need to be printed only once.
7.Take one more report footer section and write Thanks for your business.
Hope I explained what is needed.

Crystal Reports: How can a not on-demand subreport be displayed as a link in the main report

I am struggling to fix a subreport where data is obtained at the point when the main report is generated and the subreport to be displayed as a link, similar to an on demand subreport.
The issue that I have if I use a non on demand subreport is that it cannot be represented as a link, it is displayed inside the main report. As well as an on demand report is not suitable to my case because the data is retrieved when the subreport is opened.
I would appreciate any help.
Thanks in advance!
You have to take the another header for subreport and also drilldown the Header and on the Suppress formula write the formula Drilldowngrouplevel = 0 and for the Sub Report take the another detail section and on the supress formula write the formula Drilldowngrouplevel = 0.
This will definitely work, because I tried it.
Can you add a group level to the subreport and add a single line into the group header?
This will mean you will have to drill down twice to get the data though.