Hi all,
Currently im working on a report which have few groups to get the total amount of those group.
But the problem is, i just want to show the summary of those group, and hide data inside databand; or maybe group header.
i hv tried using the {Enabled = False} in databand properties, although the databand success hide but the calculation won't work.
Below is the scenario:
GroupHeaderBand1: Mini Market (1)
Databand1: Casher Amount
Casher(1) 1000
Casher(2) 1500
GroupFooterBand1: Mini Market (1) Sales Total = 2500
GroupHeaderBand2: Mini Market (2)
Databand1: Casher Amount
Casher(A) 1000
Casher(B) 3000
GroupFooterBand2: Mini Market (2) Sales Total = 4000
So, is there any way to hide the databand(s), and only show groupfooterband (summary of sales total)?
Hide/Suppress a DataBand,GroupBand
-
- Posts: 10
- Joined: Sat Jul 21, 2007 6:18 am
- Location: Malaysia,KL
Hide/Suppress a DataBand,GroupBand
Please set the height of necessary bands (e.g. GroupHeaderBand, DataBand) to zero. If the height of the GroupFooterBands is greater than zero, then as a result you will get results desired.
Thank you.
Thank you.
-
- Posts: 10
- Joined: Sat Jul 21, 2007 6:18 am
- Location: Malaysia,KL
Hide/Suppress a DataBand,GroupBand
The Problem solve. Thanks Edward!
:biggrin:
:biggrin:
Hide/Suppress a DataBand,GroupBand
Let us know if you need any help.
Thank you.
Thank you.
-
- Posts: 1
- Joined: Wed Oct 15, 2008 10:53 pm
- Location: HCM
Hide/Suppress a DataBand,GroupBand
Oh, i've got the same problem ( I want to hide data ) and I used this code to hide:
for (int i = 0; i < reportItems.Count; i++)
{
if (reportItems.GetType().Name == "StiDataBand")
reportItems.Height = 0;
if (reportItems.Parent.GetType().Name == "StiDataBand")
reportItems.Height = 0;
}
The result is really good. However, when it compiles to show (especially when it connects data) it takes a long time (about 5 mins or more ) to complete.The data is not too much (time when showing all data without hiding is only 5 seconds). I don't know the reason why? Can anybody have experience about this? Please help me.
Thanks alot.
for (int i = 0; i < reportItems.Count; i++)
{
if (reportItems.GetType().Name == "StiDataBand")
reportItems.Height = 0;
if (reportItems.Parent.GetType().Name == "StiDataBand")
reportItems.Height = 0;
}
The result is really good. However, when it compiles to show (especially when it connects data) it takes a long time (about 5 mins or more ) to complete.The data is not too much (time when showing all data without hiding is only 5 seconds). I don't know the reason why? Can anybody have experience about this? Please help me.
Thanks alot.
Hide/Suppress a DataBand,GroupBand
Hello,
Please show your report.
Thank you.
Please show your report.
Thank you.