BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Report Builder sub report child band 'prints' on or before n

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools
View previous topic :: View next topic  
Author Message
Drachefeuer
Guest





PostPosted: Wed May 31, 2006 8:15 pm    Post subject: Report Builder sub report child band 'prints' on or before n Reply with quote



Greetings,

I am hoping there is someone else who may have had this problem with RB
or is willing to help.

I am using...
Report Builder v 7.03
with
Delphi 7

What I have is a main report contataining a header, a group (w/ head
and foot), and a detail band. On the detail band, I have placed three
subreports, all of which are bound to their own pipeline-datasets. The
subreports are stacked on each other and set to shift relative to the
one above it, all in the main reports detail band, which is set to
dynamic height. The main report is set to a pipeline, which will supply
data for the main record (which is reflected in the group header). For
each group header that prints, the subreports will display child
records from different tables tied to the parent.

The Problem:
What I am doing is adding up a total to be printed at the end of my
subreports. For each BeforePrint of the sub report's band I add the
numeric variable im using to itself plus the current records value
(i.e. x := x + dataset.fieldvalue('somefield');. I run into a problem
when the subreport print out to the next page. I am getting situation
where a detail band BeforePrint will fire twice (though it will only
print once). This happens between pages, adding the band-record value
of top record on the new page twice. Its like it tries to print at the
bottom but cant fit so it then prints at the top of the next page,
firing the event twice.

If there is anyone who knows how this can be resolved, please reply.

Thx

-Drachefeuer
Back to top
Riki Wiki Google
Guest





PostPosted: Sun Jun 04, 2006 8:11 am    Post subject: Re: Report Builder sub report child band 'prints' on or befo Reply with quote



Hoi Betty

This newsgroup do not officially exist, that is why there is so few
messages here. Rather use b.p.d.reporting-charting. Further you
need to repost your question on the Borland news server to make
everybody
see it, when you use Google Groups your post is invisible to most
people.

Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.