How to get a certain value in another report in one report?

Customers often ask Feijie report how to get a certain value in another report in one report. In fact, it's very simple. This is the access between tables. Feijie reports provide access functions between tables for a long time. In version 5.2 and before, the function name is Reference. Starting from version 6.0, the names of access functions between tables are standardized. For Lookup, this function needs to be used with the subReport function, as described below:

Syntax: Lookup(subrpt, cellId)

Parameter Description:

subrpt other reports to be taken from, use the subreport() function to get

cellId The unique identifier of the cell to be valued

For example: Lookup(subreport('Demo/test.brt'),'a') Get the value of the cell with identifier a in the report named test in the Demo folder

Guess you like

Origin blog.51cto.com/15018938/2557744