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

SAVING OF SUB REPORT LINKED TO MAIN REPORT

Status
Not open for further replies.

BHAT100

Programmer
Dec 5, 2002
115
CA
I have made number of changes to sub report after linking to main report. now I want to save linked sub report as separate report. is there a way to save linked subreport separately?

Moreover I want to compare the result of sub report because i have used shared variable to pull figures from subreport to main report

please help me

Thanks

Bhat
 
Open the subreport and File->Save Subreport As should be an option, but please remember to at least post your software version.

As for comparing numbers, since it's using a shared variable, it won't have that result in it, so you may need to flesh out more details of your requirement.

-k
 
Thanks for your reply.

I am working on crystal report 9.0

Thanks

Have a great day

-b
 
shared variable number are not pulling correctly. main report numbers are lessor than subreport.

I am pulling report total from the subtotal

I am following shared variable in subreport;

whileprintingrecords;
shared NumberVar sub_report_total:= Sum ({@cur_sale_jan});
sub_report_total;

In main report, I am using following formula:

//{@reset} above section to subreport placed in same group:

whileprintingrecords;
Shared NumberVar Sub_Report_Total:= 0;

//{@accum}:section below subreport placed in a same group:
whileprintingrecords;
Shared NumberVar Sub_Report_Total;
NumberVar sumsharetotal:= sumsharetotal + Sub_Report_Total;

//{@display} placed in the report footer:
whileprintingrecords;
numberVar sumsharetotal;

-Any idea would be great help to me

Thanks

-b
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top