Create a subreport FOR A CRYSTAL REPORT

Source: Internet
Author: User

This article has little to do with Asp.net. Asp.net is just a carrier for displaying reports. This section describes how to create a primary report and a subreport.

Let's take a look at the two tables in the database. [fruit] and [fruitkind], the former field [fruitkind_nbr] is a foreign key and the latter's primary key.



To obtain data, you must create two stored procedures [DBO]. [usp_fruit_getall]:


And [DBO]. [usp_fruitkind_getall]:



These two stored procedures will be used when we create a crystal report later.
First, let's take a look at the creation of the main report. In either the first or second real-time operation demonstration, you can click another image window. It was originally intended to make a sound video, but in order to be able to achieve real-time, and do not want users to install any player to see it, it is still possible to make a GIF image.




The following real-time operation demonstration focuses on how to create a subreport and how to customize the big data format. Some of the processes are Asp.net:








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.