1. Add a TppVariable to the main report: myVariable1. 2. From the RB Designer Calc workspace select View | Module. 3. In the Global Declarations declare
var gMyVariable1: TppVariable;
4. In the Global.OnCreate add initialization code:
gMyVariable1 := myVariable1;
5. Now you can write RAP code in the subreport that can update gMyVariable1.
Comments
1. Add a TppVariable to the main report: myVariable1.
2. From the RB Designer Calc workspace select View | Module.
3. In the Global Declarations declare
var
gMyVariable1: TppVariable;
4. In the Global.OnCreate add initialization code:
gMyVariable1 := myVariable1;
5. Now you can write RAP code in the subreport that can update gMyVariable1.
--
Nard Moseley
Digital Metaphors Corporation
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
It's works very fine