main report with two sub reports -- problem with display of variables
main report has sub-report 1 and sub-report 2.
Main report :
Header
Title
Footer
________________________
Summary:
Label25 variable4.asInteger
Sub-report 1
___________________________
Title
Detail
_____________
Summary:
Sub-report 2
_________________
Problem: with one exception, all items print including sub-report 2 with
title, detail and summary that has label and variables.
No matter what we try we cannot get variable4 in main summary to print. The
label 25 prints but not the variable4. we get zero.
We were computing during traversal but even plugging just prior to print
report 'ppVariable4.asInteger := 67;' we still get zero.
We do same traversal logic in sub-report 2 and our computed variables in
sub-report 2 print OK.
Any suggestions?
Ken Thompson
Main report :
Header
Title
Footer
________________________
Summary:
Label25 variable4.asInteger
Sub-report 1
___________________________
Title
Detail
_____________
Summary:
Sub-report 2
_________________
Problem: with one exception, all items print including sub-report 2 with
title, detail and summary that has label and variables.
No matter what we try we cannot get variable4 in main summary to print. The
label 25 prints but not the variable4. we get zero.
We were computing during traversal but even plugging just prior to print
report 'ppVariable4.asInteger := 67;' we still get zero.
We do same traversal logic in sub-report 2 and our computed variables in
sub-report 2 print OK.
Any suggestions?
Ken Thompson
This discussion has been closed.
Comments
Try setting the value property of the TppVariable component inside its
OnCalc event. Be sure its datatype is set to Integer. We have no known
issues of variables not calculating.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com