467,169 Members | 1,013 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,169 developers. It's quick & easy.

Trouble with displaying shared variables onto main report in the right position

Hi,

Could someone please help me with this:

I've got a list of employees grouped by Department and then Possition.
The names of the employees are listed in the Details section. I've
created a subreport also in the Details section which does the running
total of each employees pay in a given period.

I've created a shared variables to assign these running totals in the
subreport, which I put in the subreport footer.

Shared NumberVar baseWages;
baseWages :={#baseWages};

In the main report, I called on these shared variables and put them in
the Details section to bring up the running total of each employees
pay. However, the result of the shared variables are shifted down by
one record.

Shared NumberVar baseWages;
baseWages
The correct result suppose to show:

Department | Position Total | Name | Wage

IT
Manager
Mary Huynh $1200
David Moore $1000
Helpdesk
Luke Cook $900
However, it currently shows:

Department | Position Total | Name | Wage

IT
Manager
Mary Huynh $0.00
David Moore $1200
Helpdesk
Luke Cook $1000
Any suggestions will be greatly appreciated.

Thanks
Mary

Jun 27 '06 #1
  • viewed: 740
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Penn Markham | last post: by
1 post views Thread by Torsten Mueller | last post: by
3 posts views Thread by Morten Snedker | last post: by
3 posts views Thread by Coll | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.