Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CR8 Export to Excel Problem with Calculations

Status
Not open for further replies.

emallon

Programmer
Jul 6, 2000
31
US
I have a financial report containing a subreport. Using shared variables I pass the subreport numbers back to the main report for use in a simple subtraction calculation. The difference is displayed along side the main report value. The report looks fine in print.
Upon export it apears that the shared value from the previous line in the report is being used in the calculation and not the current lines shared value.

Print Sample:
Store Sales Diff
001 (sub) 120
(main) 120 0
002 100
100 0
------------------------
Export Result:
Store Sales Diff
001 120
120 0
002 100
100 -20
------------------------
Any suggestions would be helpful.
 
Is the sub in its own section with the shared variable calculation in the next section? When exported, is the sub in the correct position or is it wrapping to the next line?

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top