Home
Crystal Reports Training
Crystal Reports XI
Crystal Reports .NET
Crystal Reports Forum
News
Tech Support
Active Topics
Memberlist
Search
Help
Register
Login
Report Design
Crystal Reports Forum
:
Crystal Reports for Visual Studio 2005 and Newer
:
Report Design
Topic: Subreport page footer
Oldest Post First
Newest Post First
Author
Message
Fern82
Newbie
Joined: 21 Dec 2011
Location: Spain
Online Status: Offline
Posts: 1
Topic: Subreport page footer
Posted: 21 Dec 2011 at 12:59am
Hi all,
I have in the same Main report 3 subreports, each subreport have several lines, I want to print on Main report the subtotal of the actual lines.
Actually I get the total of the subreport when the subreport has finish printing lines.
Can anybody help me?
Thanks.
IP Logged
lockwelle
Moderator
Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Posted: 23 Dec 2011 at 7:04am
you can put a shared variable in each of the subreports, so:
shared numbervar subreport1 := 0;
shared numbervar subreport2 := 0;
shared numbervar subreport3 := 0;
do this before you call the subreports.
in the subreport update the shared variable to the correct number.
shared numbervar subreport1;
shared numbervar subreport2;
shared numbervar subreport3;
subreport1 + subreport2 + subreport3
HTH
After the subreports have run, you can do this:
IP Logged
Printable version
Forum Jump
-- Select Forum --
Announcements
Talk with the Author
Self-Publishing
Job Postings
New feature request
Report Design
Data Connectivity
Technical Questions
Tips and Tricks
Crystal Xcelsius
Report Design
Data Connectivity
Writing Code
Tips and Tricks
Report Design
Data Connectivity
Writing Code
Tips and Tricks
You
cannot
post new topics in this forum
You
cannot
reply to topics in this forum
You
cannot
delete your posts in this forum
You
cannot
edit your posts in this forum
You
cannot
create polls in this forum
You
cannot
vote in polls in this forum
This page was generated in 0.027 seconds.
HOME
|
FREE EBOOK
|
PROGRAMMING GUIDE
|
PURCHASE
|
REVIEWS
|
CONTACT ME
|
FAQ
|
LINKS
|
CLICK PLAYS
|
COACH FORUMS
|
TROPICAL FISH
© 2004-2024 Brian Bischof. All Rights Reserved.