Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to achieve high-precision report set-up in report design?

2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

In many industries, bills have strict industry norms, and the format can not be modified. once the format is changed, the bill data will be invalid. Therefore, usually, we will manually fill in the data information in the printed version of the pre-formatted report, such as common account books, reimbursement forms and so on.

There is no problem to fill in a single bill manually, but with office automation, a large number of data need to be processed electronically, which is not only efficient but also easy to save and not easy to make mistakes. When the bill becomes a routine office operation, manual filling is not only impossible to meet but also very inefficient, and because the format of the bill can not be modified, the traditional report tool usually uses the method of measurement to determine the location of the data area to design the report. In this way, making a report printed by a bill is not only time-consuming and laborious, but also difficult to ensure the validity of the bill, but also unable to meet the requirements of the new bill format in the future. The emergence of set-up reports solves this problem and simplifies the function of making and printing electronic bills.

Set up the report form

Set printing is also known as positioning printing, that is, the data content that needs to be filled in on a zero-error print on a bill in a preset format. The preset bill paper can be understood as setting the report to a specific report background (electronic version of the bill) in the process of making the report, and then setting the data items and matching data controls according to this background. Therefore, when printing, only the data is printed, and the entire background is not output to the printer. Set report can also be popularly understood as "set format printing". The report function is the most basic and commonly used function provided by the report development tool and the most professional function of the report.

Coding to achieve a set of code, not to mention the workload, the implementation logic is very complex, the accuracy can not be controlled, the grape city report has been focused on the report field for 20 years, supporting high-precision report display, printing, export, ingenious design makes the realization of quick effect, relieved countless developers from heart disease.

In the print shown below, it is clear that the printing of other items has deviated in order to align the uppercase "Cash payment" column.

Working with scen

The set-up function is widely used in report printing in various industries. Such as invoice printing, shipping waybill, and common various vouchers, let's take a look at some examples of industry reports.

Invoice printing in the financial system is a very typical example of a set of report forms. In the report design process, only need to: name, header, address, telephone and other information, and the entire background will not be output to the printer.

Shipping waybill is a very typical set-up report in e-commerce system, which will only print data when printing, such as customer code, sending company, contact person, address and so on.

In addition to the above common set-up report printing function, such as deposit vouchers in our lives, and the printing of certificates and receipts is a set-up function.

Realization method

Grape City report to achieve invoice printing, invoice printing, logistics list printing, commodity bar code printing, staff card printing and other functions, you only need to load the set of paper as the background picture of the report in the design stage of the report. when actually printing, only the data is printed to the corresponding location of the set of paper, and the implementation is so easy.

1. Create a new report file

Scan the format table to get a copy, set it as the background layer; create a RDL report, add a background picture, and show or hide the background picture according to the print parameters. Note that if there are very strict requirements for the format, it is recommended to choose a page report.

two。 Add a background picture to the report

After the report is added, add a VAT invoice background picture to the embedded Image node in report Explorer.

3. Add a picture control

Add a picture control to the designer and set the following properties for the picture:

4. Set up the background picture

At this point, the background is set in the Default layer, and the background layer usually does not need to be printed (because it is printed according to the standard table), so set the TargetDevice property of the Default layer.

Next, set up a set of content controls.

5. Use report layering to match

Grape city report control is the first to put forward the design concept of report surface layer. Report hierarchical design is the grouping management and design of controls in the report, which can lock / unlock all controls in the same group, add / delete, show / hide, adjust transparency and other operations. decompose report design and reduce the difficulty of complex report template design. At the same time, you can control its visibility on different devices on a layer-by-layer basis, such as whether it is displayed on paper, whether all controls in that layer are output to the screen, and whether the layer is used for export. Zero coding to achieve multiple copies, report sets and other Chinese report requirements.

6. To achieve the key point-new layer

Open [layer Manager] and click the + symbol to name it the control layer. After selecting the control layer, add the corresponding control in the control layer.

Add controls to the control layer

7. Preview the report

Reprint please indicate from: grape city report

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report