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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

retrieving the value from subreport into main report

Status
Not open for further replies.

reacha

Programmer
Jun 9, 2010
83
US
there is a report which has two groups called
Name,processid in it

The main report is showing the data for yesterday

Name Processid Emailscame emailcomple emailsoldyester

Agency 7 1 0 6
6 2 2 5
Attorney 7 3 2 6
Embassy 7 5 4 4

For emailsolderthanyesterday i am using subreport for each and every group
Now in the main report i need to calculate
emailscame/emailsoldyester

How can i retrieve each and every value from subreport into main report

Please help me out!!


Thanks,
reacha
 
What report sections are we seeing here? How are the subs linked to the main report? Do you need the calculation per name and process ID or at the grand total level?

-LB
 
Thanks for your reply.

The issue is solved now
 
Please explain your solution so others can benefit from the thread.

-LB
 
Actually i had two groups in my main report which calculates emailcamein,emailcompleted,emailsinqueue for yesterday

Group1:Name
Group2:processID

Subreport
---------
calculates emails not completed older than yesterday

finally i had problem in calculating the percentage

i.e (emailscameinyes)%(emailsnotcompletedolderthanyesterday)

For each group i created one subreport.Place the subreport in that group section but in the subreport suppress the field.

created a shared variable and insert one more section below that group and place the shared variable below the subreport.

Now i calculated percentage using emailscamein/sharedvariable

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top