The crystal report is a letter to all ee's showing their total compensation package. The first page of the letter is the main report and the two subrpts are for the retirement plans and benefit plans. I created subformula's in both subrpts and main formula's in the main report. The main formula's work except they show the data for the previous employee and I don't understand why because they are displayed on the same group footer as the two subreports. Here's my main formula's:
//@MainFormula
//RetireTTL
WhilePrintingRecords;
Shared CurrencyVar RetireTTL;
RetireTTL
//@MainFormula2
//Returns the value that was stored in the shared currency variable called
//PayTTL in the subreport
WhilePrintingRecords;
Shared CurrencyVar PayTTL;
PayTTL
Any idea why the data is showing the previous employees retirement and benefit contribution totals?
TIA,
Sarah
//@MainFormula
//RetireTTL
WhilePrintingRecords;
Shared CurrencyVar RetireTTL;
RetireTTL
//@MainFormula2
//Returns the value that was stored in the shared currency variable called
//PayTTL in the subreport
WhilePrintingRecords;
Shared CurrencyVar PayTTL;
PayTTL
Any idea why the data is showing the previous employees retirement and benefit contribution totals?
TIA,
Sarah