 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
sslavo Guest
|
Posted: Mon Feb 26, 2007 8:03 pm Post subject: CalcText |
|
|
Im trying to start using/learning RaveReports.
I created a band with CalcText component as a body footer.
In CalcText I want sum a field of detail band, but the value
is always 0. Can anyone advise me?
SSlavo. |
|
| Back to top |
|
 |
Trevor Keegan Guest
|
Posted: Wed Feb 28, 2007 5:58 am Post subject: Re: CalcText |
|
|
Hello SSalvo,
You need to set the Controller to the band that will determine when the
calculation will occur, and you need to se the datafield :-)
HTH
Regards
Trevor Keegan |
|
| Back to top |
|
 |
sslavo Guest
|
Posted: Wed Feb 28, 2007 9:13 am Post subject: Re: CalcText |
|
|
Hallo Trevor
Thx a lot, it realy helped. I didnt have set the Controller property.
It can be set only to Page Header Band and it seems to me a little bit
confusing (I expected Detail Band). Im beginner in Rave and my previous
Report Builder works a little bit different.
SSlavo
| Quote: | Hello SSalvo,
You need to set the Controller to the band that will determine when the
calculation will occur, and you need to se the datafield :-)
HTH
Regards
Trevor Keegan
|
|
|
| Back to top |
|
 |
Trevor Keegan Guest
|
Posted: Wed Feb 28, 2007 3:45 pm Post subject: Re: CalcText |
|
|
Hello SSalvo,
| Quote: | Thx a lot, it realy helped. I didnt have set the Controller property.
It can be set only to Page Header Band and it seems to me a little bit
confusing (I expected Detail Band). Im beginner in Rave and my previous
Report Builder works a little bit different.
To correct you, it can only be set to either a DataBand or a CalcController |
component. I have never seen a need to set a CalcText component to the
PageHeader Band, so you I am bit suspicious about what you are doing.
Typically you would have a standard band as a body header, and then a data
band for to display the details, so each time the detail band prints, your
CalcText component will perform its calculation.
Regards
Trevor Keegan |
|
| Back to top |
|
 |
sslavo Guest
|
Posted: Thu Mar 01, 2007 9:14 am Post subject: Re: CalcText |
|
|
Hallo Trevor
I created simple report with Page header band, detail data band and
footer band. I place CalcText component in footer band and set data view
and data field properties. No CalcController in report occurs. Trying
set Controller property, PageHeader is THE ONLY option in popup. Thats
why my uncertainty. But important si that it works. Thanks again.
Regards
SSlavo
Trevor Keegan wrote / napísal(a):
| Quote: | Hello SSalvo,
Thx a lot, it realy helped. I didnt have set the Controller property.
It can be set only to Page Header Band and it seems to me a little bit
confusing (I expected Detail Band). Im beginner in Rave and my previous
Report Builder works a little bit different.
To correct you, it can only be set to either a DataBand or a CalcController
component. I have never seen a need to set a CalcText component to the
PageHeader Band, so you I am bit suspicious about what you are doing.
Typically you would have a standard band as a body header, and then a data
band for to display the details, so each time the detail band prints, your
CalcText component will perform its calculation.
Regards
Trevor Keegan
|
|
|
| Back to top |
|
 |
|
|
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
|
|