Crystal report-cross tabulation Application

Source: Internet
Author: User

I originally wanted to write a summary about the application SERIES OF THE CRYSTAL REPORT, but the time was always unavailable. It seems that the Plan has been disrupted (heartache. I finished my work today. Let's take a look at some time. I wrote a cross tabulation example to illustrate the application of the cross tabulation when I solved the problem of the crystal report with a friend two days ago. I hope it will be helpful for new users. You are also welcome to switch your heads.
First, we can see the structure of this table:


Make the data in the table into a report in this format:

I came up with two methods:

First, use SQL statements in the database to reverse the rows and examples of the table. This method is pure database processing, and then you can use a common crystal report to display the data. Simple and clear, I will not sort out the specific code.

Second: Use the cross tabulation of the crystal report. This method is not feasible. You can think about it carefully and it is feasible.

The procedure is as follows:
(Dizzy, the picture cannot be sent !!)
Source code: source code

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.