Delphi to make the report with Fastreport

Source: Internet
Author: User

As one of the typical output forms of system information, the report is an important function of most application system, especially MIS system. Whether to have a good printing function, often from a certain extent, related to the success or failure of the system. Delphi has a strong report function, but its report function is not enough to meet our needs. So many Delphi experts have launched a number of excellent report control (module), as a supplement to Quickreport, which Fastreport is a representative.

Fastreport combines the advantages of quickreport and re portbuilder, small, fast, and with all the source code. In developing a drug management system, the author successfully produced a form report which is identical to the drug acceptance list and drug FastReport2.51. Here is a brief introduction to my friends.

Requirement Analysis of the report

In the hospital work friends know, drug storage to fill in the drug acceptance list, the pharmacy staff to receive drugs to fill in the Drug allocation list. The drug acceptance list and allocation list used by the author unit are not dedicated, but general acceptance and dispatch of goods. And the department store, the telecommunications system use of the report is different, its shape is bar, each fixed can fill five kinds of medicine, the content includes the delivery unit, shipping number, receiving unit, name, specification, unit, price, amount, etc., a triple.

To sum up, we can summarize the requirements of the report design as follows:

1. The size is: 21cm long, wide 10cm;

2. Each can print 5 kinds of medicine, the form below has the subtotal of this page.

3. More than 5 kinds of medicines start a new form of printing, less than 5 kinds of drugs to be filled with empty lines.

Report Design

1. Open the Fastreport Report Designer and design the "Drug acceptance list" in accordance with figure 1.

In addition, INHJ, OUTHJ, Cahj, linecount These variables represent "warehousing totals", "Out of stock totals," "Total" and "number of rows of data," in the program will be assigned to these variables.

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.