|
|
| rodchar 2006-01-19, 7:10 pm |
| hey all,
how do i hide my group header in vb code?
thanks,
rodchar
| |
| Shariq 2006-01-19, 7:10 pm |
| Dim myArea As Area
myArea = crReportDocument.ReportDefinition.Areas(3)
myArea.AreaFormat.EnableHideForDrillDown = True
The Area(3) means that I am hiding the 3rd section of the report:
1 Report Header
2 Page Header
3 Group Header1
4 Group Header2
5 Details
etc.
"rodchar" wrote:
> hey all,
>
> how do i hide my group header in vb code?
>
> thanks,
> rodchar
| |
| rodchar 2006-01-19, 7:10 pm |
| for some reason my group header isn't being suppressed. there's only one
label field in the section but it doesn't go away?
Am i missing something?
rodchar
"Shariq" wrote:
[color=darkred]
> Dim myArea As Area
> myArea = crReportDocument.ReportDefinition.Areas(3)
> myArea.AreaFormat.EnableHideForDrillDown = True
>
>
> The Area(3) means that I am hiding the 3rd section of the report:
> 1 Report Header
> 2 Page Header
> 3 Group Header1
> 4 Group Header2
> 5 Details
> etc.
>
>
>
> "rodchar" wrote:
>
| |
| rodchar 2006-01-19, 7:10 pm |
| this is what my section description shows:
Group Header #1: Customers.Country - A (Section6)
"rodchar" wrote:
[color=darkred]
> for some reason my group header isn't being suppressed. there's only one
> label field in the section but it doesn't go away?
>
> Am i missing something?
>
> rodchar
>
> "Shariq" wrote:
>
| |
| rodchar 2006-01-19, 7:10 pm |
| apparently .Areas(index) means starting from the top?
because
my report shows the following section in this order:
Section 1
Section 2
Section 6
Section 3
I was putting 6 and it wasn't working but if i put 2 it works
0 - (Section 1)
1 - (Section 2)
2 - (Section 6)
3 - (Section 3)
Thanks,
rodchar
"rodchar" wrote:
[color=darkred]
> for some reason my group header isn't being suppressed. there's only one
> label field in the section but it doesn't go away?
>
> Am i missing something?
>
> rodchar
>
> "Shariq" wrote:
>
| |
| Shariq 2006-01-19, 7:10 pm |
| Yes, and that's why I gave you the example; it follows the sequence in CR.
1 Report Header
2 Page Header
3 Group Header1
4 Group Header2
5 Details
etc.
"rodchar" wrote:
[color=darkred]
> apparently .Areas(index) means starting from the top?
>
> because
> my report shows the following section in this order:
> Section 1
> Section 2
> Section 6
> Section 3
>
> I was putting 6 and it wasn't working but if i put 2 it works
>
> 0 - (Section 1)
> 1 - (Section 2)
> 2 - (Section 6)
> 3 - (Section 3)
>
> Thanks,
>
> rodchar
> "rodchar" wrote:
>
| |
| rodchar 2006-01-20, 7:11 pm |
| Thank you very much.
"Shariq" wrote:
[color=darkred]
> Yes, and that's why I gave you the example; it follows the sequence in CR.
> 1 Report Header
> 2 Page Header
> 3 Group Header1
> 4 Group Header2
> 5 Details
> etc.
>
>
> "rodchar" wrote:
>
|
|
|
|