How to use the online reporting tool to create a multi-form report

Description: There are relationships between multiple tables, you can use a multi-form shows up in the form of a report, select this course students basic information associated family members, interim results and the final grade multi-table a detailed description of the form.

Step a: addition of the data source

Click on the data source , obtain statements in the input data set: "select * from students basic information" basic data source for the information.

Click on the data source , data acquisition input set statement: "select * from family members", the data source for family members.

Click on the data source , data acquisition input set statement: ". Select students basic information .name, interim results * from students basic information, midterm grades where students basic information .id = midterm grades .stid", the data source for a period of achievement .

Click on the data source , obtain statements in the input data set: "select * from the final grade" data source for the final grade.

Step two: establish a basic information form

In the workspace design template display style, drag from the data source "basic information" in the appropriate fields in the corresponding position, set the title as a formula in the form of "F4 students basic information", and set the left field information related to the parent cell as "[General information]. [ID]" where the cell. Then the data needs of data sources, "family member" in the drag to the appropriate location. Set the appropriate data fields of the parent cell to the left [family members]. [Stid], and non-cell data field to the left parent grid is "[family members]. [Stid]" where the cells. Finally, the current form the name change to "basic information." The effect is as follows:

 

[Family members]. [Stid] data with the [basic information]. [Id] is actually affiliated, set the filter to "@ {stid} == D4" in [family members]. [Stid], the two the associated display tables together, and [family members]. [stid] where the hidden columns. Preview the current template effect is as follows:

 

Step Three: Create a form results

Template menu click "new form", the drag from a data source "Interim results" in the corresponding field in the corresponding position, is provided in the form of Equation entitled "Results A5", and the data field associated with the non-data field unit father grid grid set left to "[interim results]. [stid]" where the cells. Then drag from the data source "final grade" in the corresponding field in the corresponding position, the left parent cell C8 grid "final grade" non-data field is set to "[Interim Results]. [Stid]" where cells the data fields particularly related to other non-C8 non-data field unit cell lattice father left set to "[final grade]. [stid]" where the cells. Finally, the current form the name change to "score." The effect is as follows:

 

A column will be hidden, click Preview to see the actual effect of the form:

 

Step Four: Save the template

Click the File menu bar to save the template, the template named "Student Information Form and more."

Published 39 original articles · won praise 1 · views 10000 +

Guess you like

Origin blog.csdn.net/efreport/article/details/90474249