Showing posts with label group. Show all posts
Showing posts with label group. Show all posts

Monday, March 12, 2012

repeating Group Values

Hi,
I am having a problem with grouping in reporting services. I have data like
below
Col1 Col2 Col3
A B 1
A B 3
K L 1
K L 1
I am creating group on Col1 and Col2.
I nreport I am select 3 columns
Col1 Col2 Sum(Col3)
My results look like below
Col1 Col2 Col3
A B 3
A B 3
K L 2
K L 2
I am not sure why I am getting duplicate data. I want to sum col3 by col1 an
col2. I only want to get one result row per group like in SQL group by result
set.
Please help.
Thanks,
--
SRaniPWhich band are the duplicate rows being displayed in? You will most likely
want to move the display of tCol1, Col2 and SUM(COl3) the 2nd group's footer
band.
"SRaniP" <SRaniP@.discussions.microsoft.com> wrote in message
news:3551D311-578B-4336-B272-347F85FF2100@.microsoft.com...
> Hi,
> I am having a problem with grouping in reporting services. I have data
> like
> below
> Col1 Col2 Col3
> A B 1
> A B 3
> K L 1
> K L 1
> I am creating group on Col1 and Col2.
> I nreport I am select 3 columns
> Col1 Col2 Sum(Col3)
> My results look like below
> Col1 Col2 Col3
> A B 3
> A B 3
> K L 2
> K L 2
> I am not sure why I am getting duplicate data. I want to sum col3 by col1
> an
> col2. I only want to get one result row per group like in SQL group by
> result
> set.
> Please help.
> Thanks,
> --
> SRaniP

Repeating Group headers on reports with subreports

I have a report that contains a table. The group header in the table is set
to repeat on a new page. However, as soon as I place a subreport in the table
of the main report and that subreport causes a page break...the group header
on the top-level report doesn't repeat. Is there a workaround for this
shortcoming?
Regards,
Dean NeroNero,
Did you ever find an answer for this? I am having the same issue...and
its killin' me!
Michael
"Dean Nero" wrote:
> I have a report that contains a table. The group header in the table is set
> to repeat on a new page. However, as soon as I place a subreport in the table
> of the main report and that subreport causes a page break...the group header
> on the top-level report doesn't repeat. Is there a workaround for this
> shortcoming?
> Regards,
> Dean Nero

Repeating Group Footer in a Subreport

I have a subreport that can be pages long. On each page, I need the group footer repeated. I can get the header to repeat, but not the footer.
Any help will be greatly appreciated!I think you can't.. as it appears at the end of the group...
could you use the page footer ?

Luc|||Thanks for letting me know that I can't repeat the group footer - now I'll have to try and take a different approach!

I suppose I could try sticking the subreports in the detail, so that I could have a page footer... I'll try it and see how it goes.

repeating free form list item fields for each group

Hi, I have a nested report where i have some dept name and address fields placed in the free form list, below the address fields i have the related employee info in a table. i have grouped on the dept id for both the list and table. for a particular dept , when the related employee table information goes on to the next page i want to repeat the dept name and address fields on each page for the group.i cannot place the fields in the group header of the table, since there are a lot of fields at different positions .so i have kept in free form in the list region.It's basically the group header information, i wanted repeated on each page, but i have placed the fields above the table, in free form.Please help. Really apreciate it . Thanks.

You can nest rectangles and text boxes in group and table header cells. This means it is possible to create a free form layout in the table or group header.

For example, you can add a rectangle to the group header cell in your table and then add multiple text boxes or images to that rectangle at any position you desire.

|||Thanks a lot.

Friday, March 9, 2012

Repeate Outer Group in Matrix

Hi,

I am trying to make this report and I am using matrix in it. Currently it merge my outer group value. Is there any ways that I can use Matrix and have my outer group values REPEATED and not merged. Any help will be appreciated.

Thanks,

-Rohit

Rohit, please take a look at my suggestion in your other thread: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1138711&SiteID=1

-- Robert

Repeate group values in Matrix

Hi,

I am using matrix to make a report. I have company name in the row group and user name in the details field. When I run the report I only see the company name once and each user of that company is displayed in a separate row. Then next company name and its users... I wanted to know if there is a way to display company name next to the user name? I know it can be done by using "table" but I can't use table because in this report there are other fields can only be done in a matrix. So, please let me know if there are any settings in matrix which I can use to display my company name next to each user of that company. Please ask me any thing if the question is not clear. Thanks a lot for the help.

-Rohit

If someone have any idea about this problem please let me know. I would really appreciate that. Thanks.|||

Hi Rohit,

it sounds like you have a row group based on CompanyName, and a nested row group based on UserName. You could do the following steps:

1. Clear out the expression in the matrix header of the company group (which would display the company name) and resize that header to be relatively small
2. Modify the matrix header expression of the user name group to e.g.: =Fields!CompanyName.Value & " - " & Fields!UserName.Value

This should result in the company name being shown for every user name.

-- Robert

|||

Hi Robert,

This sounds like a solution that I had also been looking for but my users want to export to excel and do some things from there. If I merge my two values in that cell won't it create problems for them?

|||Thanks a lot Robert.|||

I figured out how to do it w/o having to concatinate the two into one column. Follow all of the directions that Robert gave us--take expression out of first column and minimize as small as possible. Only put the company name in the second grouping column expression. Then go into view datasets and drag your user id directly after the second column. It will appear in a column by itsself. That way they are still in their own columns and not concatinated-yet you still have the same results.

Repeat Group Header on new page

Hi,
To explain my question, I need to explain the report a bit, so, pl bear with me.

I have a table in the body of my report.
The table has one grouping.
The group header has been set to repeat on new page and this works fine.


Here is my problem..
The group footer has another table embedded in it. (call it the FooterTable)

When the FooterTable runs to the next page, the GroupHeader of the MainTable doesn't repeat itself. I am assuming it should as the FooterTable is still in the GroupFooter of the main table.

But I cannot get the GroupHeader to repeat on a new page.

(FYI : The reason I had to embed a second table was because I have a set of 3,4 lines in the Group Footer which must stay together in one page. I put these lines in the second table and use the KeepTogether property on the table. I didnt know of any other way to do this. )

Thanks.
SriWithAQuestion.

Hello,

The structure of a table is:
header
subgroups / details
footer

The RepeatOnNewPage property is available for headers & footers and we will attempt to render them on every page of the subgroups and details.

We have few other rules implemented for tables:
- every row of the table has an implicit keep together
- widow and orphan rules

In your case:
- if the FooterTable is smaller than page height than it will be on its own page (because of its implicit keep together)
- if there is enough room left on the page, a detail of the main table (assuming there is more than one) should be rendered together with the footer - widow/orphan rules
- if a detail is present and there is still room on the page, then the main table header will be renderer due to its keep together

Hope this helps to clarify the behavior,
Nicoleta|||

sriwithaquestion wrote:

...

(FYI : The reason I had to embed a second table was because I have a set of 3,4 lines in the Group Footer which must stay together in one page. I put these lines in the second table and use the KeepTogether property on the table. I didnt know of any other way to do this.)

A rectangle around the lines solve the "keep together" problem, doesn't it? But it won't make them show up on every page. No table footer will do that since they are just footers and should appear last. I think I have managed to get a matrix to show a footer on each page (probably because I didn't want it to since the table continued on the next page!).

Repeat Group Header on new page

Hi,
To explain my question, I need to explain the report a bit, so, pl bear with me.

I have a table in the body of my report.
The table has one grouping.
The group header has been set to repeat on new page and this works fine.


Here is my problem..
The group footer has another table embedded in it. (call it the FooterTable)

When the FooterTable runs to the next page, the GroupHeader of the MainTable doesn't repeat itself. I am assuming it should as the FooterTable is still in the GroupFooter of the main table.

But I cannot get the GroupHeader to repeat on a new page.

(FYI : The reason I had to embed a second table was because I have a set of 3,4 lines in the Group Footer which must stay together in one page. I put these lines in the second table and use the KeepTogether property on the table. I didnt know of any other way to do this. )

Thanks.
SriWithAQuestion.

Hello,

The structure of a table is:
header
subgroups / details
footer

The RepeatOnNewPage property is available for headers & footers and we will attempt to render them on every page of the subgroups and details.

We have few other rules implemented for tables:
- every row of the table has an implicit keep together
- widow and orphan rules

In your case:
- if the FooterTable is smaller than page height than it will be on its own page (because of its implicit keep together)
- if there is enough room left on the page, a detail of the main table (assuming there is more than one) should be rendered together with the footer - widow/orphan rules
- if a detail is present and there is still room on the page, then the main table header will be renderer due to its keep together

Hope this helps to clarify the behavior,
Nicoleta|||

sriwithaquestion wrote:

...

(FYI : The reason I had to embed a second table was because I have a set of 3,4 lines in the Group Footer which must stay together in one page. I put these lines in the second table and use the KeepTogether property on the table. I didnt know of any other way to do this.)

A rectangle around the lines solve the "keep together" problem, doesn't it? But it won't make them show up on every page. No table footer will do that since they are just footers and should appear last. I think I have managed to get a matrix to show a footer on each page (probably because I didn't want it to since the table continued on the next page!).

Repeat Group Header on each page

How do I repeat the group header at the top of each page?RepeatOnNewPage Element
Indicates whether the header or footer should be displayed with the table on each page if the table spans multiple pages.
[XML]
<Header> <!-- or Footer -->
...
<RepeatOnNewPage>...</RepeatOnNewPage>
</Header> <!-- or /Footer -->
Element Characteristics
Characteristic Description
Data type and length Boolean
Default value False
also avaible on table properties
"Greg Anderson" wrote:
> How do I repeat the group header at the top of each page?|||Yes I found out about the table header, but what I want repeated is the Group Header, not the Table Header.
"John" wrote:
> RepeatOnNewPage Element
> Indicates whether the header or footer should be displayed with the table on each page if the table spans multiple pages.
> [XML]
> <Header> <!-- or Footer -->
> ...
> <RepeatOnNewPage>...</RepeatOnNewPage>
> </Header> <!-- or /Footer -->
> Element Characteristics
> Characteristic Description
> Data type and length Boolean
> Default value False
> also avaible on table properties
> "Greg Anderson" wrote:
> > How do I repeat the group header at the top of each page?|||On the Grouping and Sorting dialog there are Repeat Group Header and Footer
checkboxes. Setting these will accomplish what you need.
--
Bruce Johnson [MSFT]
Microsoft SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Greg Anderson" <GregAnderson@.discussions.microsoft.com> wrote in message
news:11AC8168-162C-4B51-96C4-D2BCA1B1B996@.microsoft.com...
> Yes I found out about the table header, but what I want repeated is the
Group Header, not the Table Header.
>
> "John" wrote:
> > RepeatOnNewPage Element
> > Indicates whether the header or footer should be displayed with the
table on each page if the table spans multiple pages.
> >
> > [XML]
> > <Header> <!-- or Footer -->
> > ...
> > <RepeatOnNewPage>...</RepeatOnNewPage>
> > </Header> <!-- or /Footer -->
> >
> > Element Characteristics
> >
> > Characteristic Description
> > Data type and length Boolean
> > Default value False
> >
> > also avaible on table properties
> >
> > "Greg Anderson" wrote:
> >
> > > How do I repeat the group header at the top of each page?

repeat group header at top of new page

I have a report of addresses, grouped by Street Name.
Output type is PDF.
When the report breaks onto a new page, I would like the Group Header - the Street Name last listed on the previous page - to repeat at the top.
Currently it seems to only repeat when the Street Name changes.
Is that possible? If so, how?The grouping and sorting properties dialog has an option to repeat the group
header. Setting this option should do the trick for you. Assuming you are
using a table you can reach this feature by opening the table properties
dialog. Next you would click on the Groups tab. Finally you will need to
edit the Streets Name group.
--
Bruce Johnson [MSFT]
Microsoft SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Greg Anderson" <GregAnderson@.discussions.microsoft.com> wrote in message
news:EA1A1F82-AA0D-4445-AC4E-C88C9EDB0444@.microsoft.com...
> I have a report of addresses, grouped by Street Name.
> Output type is PDF.
> When the report breaks onto a new page, I would like the Group Header -
the Street Name last listed on the previous page - to repeat at the top.
> Currently it seems to only repeat when the Street Name changes.
> Is that possible? If so, how?|||Let me also say that I have gone into the Table Properties and set the "Repeat header rows on each page"
This works when I send it a parameter to sort one way - by street name - but not when I send the sort parameter of "sequence" which is another column in my report.
Any ideas?
"Greg Anderson" wrote:
> I have a report of addresses, grouped by Street Name.
> Output type is PDF.
> When the report breaks onto a new page, I would like the Group Header - the Street Name last listed on the previous page - to repeat at the top.
> Currently it seems to only repeat when the Street Name changes.
> Is that possible? If so, how?

repeat group footer based on quantity

I am trying to find a way to make a report repeat a group footer based on the quanitity of the item. Short of inserting up to 100 group footers, copying the fields, and conditionally supressing the footers I don't need based on the quantity I haven't been able to find a reasonable solution.

Any ideas.

Crystal Reports 10Why do you want to do this?

Repeat Group 2 per page

I have a table with a group. I can set RepeatOnNewPage = true on the group
properties to have it page break for each item, but is it possible to put 2
items and then a page break?
ThanksOn May 2, 10:52 am, AndyG <A...@.discussions.microsoft.com> wrote:
> I have a table with a group. I can set RepeatOnNewPage = true on the group
> properties to have it page break for each item, but is it possible to put 2
> items and then a page break?
> Thanks
This might work:
1. In the 'Layout' view of BIDS, select the table.
2. Right click the table and select 'Properties.'
3. On the 'Groups' tab, select the 'Add...' button.
4. Below 'Group on:' and 'Expression' enter the following:
'=Ceiling(RowNumber(Nothing)/2)'
5. Select 'Page break at end'
5. Select 'OK' and 'OK' again.
Regards,
Enrique Martinez
Sr. Software Consultant

repeat data in matrix row group on every line

Hello everyone,
I have a matrix report that is grouped on 4 fields. I need the report
to display data for every line and not hide data for a group.
i.e
Currently:
Apex Merlot 750ml
375ml
1.5L
I need:
Apex Merlot 750ml
Apex Merlot 375ml
Apex Merlot 1.5L
thank you,
JustinSee the attached report for a sample of how to repeat your group data on
each line.
The structure below uses the terminology of your example
Row Group 1 Row Group 2 Row Group 3
Group by Wine Type Group by Quantity Group by Quantity
Display Wine Type Display Wine Type Display Quantity
You might be able to place Row Group 3 in a value cell.
You will need to strink Row Group 1's cell width and mostl like set its
background and text color to white.
You might consider using a table for this type of report since it becomes
rather trival to setup.
In this approach you would place the Wine Type and Quantity in a detail.
--
Bruce Johnson [MSFT]
Microsoft SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Justin" <stupy1@.hotmail.com> wrote in message
news:2e90a66b.0410050545.200d149@.posting.google.com...
> Hello everyone,
> I have a matrix report that is grouped on 4 fields. I need the report
> to display data for every line and not hide data for a group.
> i.e
> Currently:
> Apex Merlot 750ml
> 375ml
> 1.5L
> I need:
> Apex Merlot 750ml
> Apex Merlot 375ml
> Apex Merlot 1.5L
>
> thank you,
> Justin
RepeatMatrixGroupData.rdl
<?xml version="1.0" encoding="utf-8"?>
<Report
xmlns="http://schemas.microsoft.com/sqlserver/reporting/2003/10/reportdefinition"
xmlns:rd="">http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<RightMargin>1in</RightMargin>
<Body>
<ReportItems>
<Matrix Name="matrix1">
<Corner>
<ReportItems>
<Textbox Name="textbox1">
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingBottom>2pt</PaddingBottom>
<PaddingTop>2pt</PaddingTop>
<PaddingRight>2pt</PaddingRight>
</Style>
<ZIndex>5</ZIndex>
<rd:DefaultName>textbox1</rd:DefaultName>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</Corner>
<Height>0.5in</Height>
<Style />
<MatrixRows>
<MatrixRow>
<MatrixCells>
<MatrixCell>
<ReportItems>
<Textbox Name="textbox4">
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingBottom>2pt</PaddingBottom>
<PaddingTop>2pt</PaddingTop>
<PaddingRight>2pt</PaddingRight>
</Style>
<rd:DefaultName>textbox4</rd:DefaultName>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</MatrixCell>
</MatrixCells>
<Height>0.25in</Height>
</MatrixRow>
</MatrixRows>
<MatrixColumns>
<MatrixColumn>
<Width>1in</Width>
</MatrixColumn>
</MatrixColumns>
<DataSetName>CustomerDataSet</DataSetName>
<ColumnGroupings>
<ColumnGrouping>
<DynamicColumns>
<Grouping Name="matrix1_ColumnGroup1">
<GroupExpressions>
<GroupExpression />
</GroupExpressions>
</Grouping>
<ReportItems>
<Textbox Name="textbox2">
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingBottom>2pt</PaddingBottom>
<PaddingTop>2pt</PaddingTop>
<PaddingRight>2pt</PaddingRight>
</Style>
<ZIndex>4</ZIndex>
<rd:DefaultName>textbox2</rd:DefaultName>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</DynamicColumns>
<Height>0.25in</Height>
</ColumnGrouping>
</ColumnGroupings>
<Width>3.875in</Width>
<RowGroupings>
<RowGrouping>
<DynamicRows>
<Grouping Name="matrix1_Country">
<GroupExpressions>
<GroupExpression>=Fields!Country.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<ReportItems>
<Textbox Name="Country">
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingBottom>2pt</PaddingBottom>
<PaddingTop>2pt</PaddingTop>
<PaddingRight>2pt</PaddingRight>
</Style>
<ZIndex>3</ZIndex>
<rd:DefaultName>Country</rd:DefaultName>
<CanGrow>true</CanGrow>
<Value>=Fields!Country.Value</Value>
</Textbox>
</ReportItems>
</DynamicRows>
<Width>0.875in</Width>
</RowGrouping>
<RowGrouping>
<DynamicRows>
<Grouping Name="matrix1_RowGroup1">
<GroupExpressions>
<GroupExpression>=Fields!CompanyName.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<ReportItems>
<Textbox Name="Country_1">
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingBottom>2pt</PaddingBottom>
<PaddingTop>2pt</PaddingTop>
<PaddingRight>2pt</PaddingRight>
</Style>
<ZIndex>2</ZIndex>
<rd:DefaultName>Country_1</rd:DefaultName>
<CanGrow>true</CanGrow>
<Value>=Fields!Country.Value</Value>
</Textbox>
</ReportItems>
</DynamicRows>
<Width>1in</Width>
</RowGrouping>
<RowGrouping>
<DynamicRows>
<Grouping Name="matrix1_CompanyName">
<GroupExpressions>
<GroupExpression>=Fields!CompanyName.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<ReportItems>
<Textbox Name="CompanyName">
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingBottom>2pt</PaddingBottom>
<PaddingTop>2pt</PaddingTop>
<PaddingRight>2pt</PaddingRight>
</Style>
<ZIndex>1</ZIndex>
<CanGrow>true</CanGrow>
<rd:DefaultName>CompanyName</rd:DefaultName>
<Value>=Fields!CompanyName.Value</Value>
</Textbox>
</ReportItems>
</DynamicRows>
<Width>1in</Width>
</RowGrouping>
</RowGroupings>
</Matrix>
</ReportItems>
<Style />
<Height>0.875in</Height>
</Body>
<TopMargin>1in</TopMargin>
<DataSources>
<DataSource Name="Northwind">
<rd:DataSourceID>5f06a1b6-3d14-4331-a0a7-3192c902022e</rd:DataSourceID>
<ConnectionProperties>
<DataProvider>SQL</DataProvider>
<ConnectString>data source=localhost;initial
catalog=Northwind</ConnectString>
<IntegratedSecurity>true</IntegratedSecurity>
</ConnectionProperties>
</DataSource>
</DataSources>
<Width>6.50001in</Width>
<DataSets>
<DataSet Name="CustomerDataSet">
<Fields>
<Field Name="CustomerID">
<DataField>CustomerID</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="CompanyName">
<DataField>CompanyName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ContactName">
<DataField>ContactName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="ContactTitle">
<DataField>ContactTitle</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Address">
<DataField>Address</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="City">
<DataField>City</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Region">
<DataField>Region</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="PostalCode">
<DataField>PostalCode</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Country">
<DataField>Country</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Phone">
<DataField>Phone</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Fax">
<DataField>Fax</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
<Query>
<DataSourceName>Northwind</DataSourceName>
<CommandText>SELECT *
FROM Customers</CommandText>
</Query>
</DataSet>
<DataSet Name="CountryDataSet">
<Fields>
<Field Name="country">
<DataField>country</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
<Query>
<DataSourceName>Northwind</DataSourceName>
<CommandText>select country from customers</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
</DataSet>
</DataSets>
<LeftMargin>1in</LeftMargin>
<rd:SnapToGrid>true</rd:SnapToGrid>
<rd:DrawGrid>true</rd:DrawGrid>
<rd:ReportID>8bc78064-37e7-4500-aba6-1ed9e3eb7429</rd:ReportID>
<BottomMargin>1in</BottomMargin>
<Language>en-US</Language>
</Report>|||Thanks Bruce. My customers are going to have to wait on this one.
Hopefully, this feature will be included in a future release.
thanks again,
Justin

Repeat column headers for each row group of matrix

Hello. I need to have my matrix dynamically create the row group and column
group in my matrix, but I need my dynamic columns to show for each row in the
matrix group for rows.
A B C D E F
B B C D E F
C B C D E F
D B C D E F
E B C D E F
F B C D E F
The horizontal " B C D E F " is the dynamically created group that I would
like to repeat as the headers.
Thanks!,
BJDrag the column which has B,C,D,E,F and drop it on the columns of the matrix
then you are done and keep them same all the time..
Amarnath
"bjkaledas" wrote:
> Hello. I need to have my matrix dynamically create the row group and column
> group in my matrix, but I need my dynamic columns to show for each row in the
> matrix group for rows.
> A B C D E F
> B B C D E F
> C B C D E F
> D B C D E F
> E B C D E F
> F B C D E F
> The horizontal " B C D E F " is the dynamically created group that I would
> like to repeat as the headers.
> Thanks!,
> BJ

Repeat a group header field in every page

I want a field in a group header to be repeated in every page. I have 3 fields in the group header - they are Account Name,Debit Balance and Credit Balance.

When i use the option repeat group header on each page...it repeats all the 3 fields..but i wanted to repeat only the account name on all the pages...
Can any one help me out..
Urgent.
Thanks in advance
Rohini RHi,

Split the group as two (Create two groups), GroupOne is Account name Group Two is debitbalance and credit balance.

now you can make "repeat group header" for individual group.

yours friendly,
K.Babu

Originally posted by RohiniR
I want a field in a group header to be repeated in every page. I have 3 fields in the group header - they are Account Name,Debit Balance and Credit Balance.

When i use the option repeat group header on each page...it repeats all the 3 fields..but i wanted to repeat only the account name on all the pages...
Can any one help me out..
Urgent.
Thanks in advance
Rohini R|||Thank U.

This is wat i have done for now.

But this makes a line waste.

I have group by account name and that particular account name's credit and debit balances..so i have to create 2 groups,both group by account name...place the balances in one group and account name in one group..repeat only the group with acc name.
But it makes one line extra for each acc name.

Is there any other solution.?

Regards,
Rohini

:p|||You can use a Conditional Suppress to hide the fields on the 2nd (3rd, 4th, etc) page.

(This uses CR 8.5 and RDC to create the reports) --> Right-click the field you only want to appear on the first page, Click Format. On the Common tab, click the box labeled 'x-2' next to Suppress. In the formula editor that comes up, type: InRepeatedGroupHeader = False|||Hi,

1. account name aligned left corner of the first group.

2. Credit and Debit Balances aligned right corner of the second group.

3. right click the group one select the "section format", then check the underlay following section:

Note: make sure the group one and group two section height be same for good view.

a line saved :thumb:

Originally posted by RohiniR
Thank U.

This is wat i have done for now.

But this makes a line waste.

I have group by account name and that particular account name's credit and debit balances..so i have to create 2 groups,both group by account name...place the balances in one group and account name in one group..repeat only the group with acc name.
But it makes one line extra for each acc name.

Is there any other solution.?

Regards,
Rohini

:p|||malleyo,
Thank U.
I tried as u said...but the credit & debit balances get supressed for full of the page except for the first time...
i. e . the balances appear in the group header only once for a page... for the rest of the group headers the balance does not appear.. Can u Help me out !! :blush:

Babu,
I tried to underlay the following section but the detail section overlaps on the group header..??What to do?

Regards,
Rohini|||Where you set the overlaps

you should set the overlaps option in the top of the groupone, so it overlap at bottom grouptwo

Group#1 (set here overlap)
AccountName

Group#2
Credit and Debit

now group#1 overlap to group#2

output look like this.
AccountName Credit and Debit

----

Originally posted by RohiniR

Babu,
I tried to underlay the following section but the detail section overlaps on the group header..??What to do?

Regards,
Rohini|||Originally posted by RohiniR
I tried as u said...but the credit & debit balances get supressed for full of the page except for the first time...
i. e . the balances appear in the group header only once for a page... for the rest of the group headers the balance does not appear.. Can u Help me out !!

Set the Suppress for ONLY the fields that you DO NOT want repeated after the first page. Set the Suppress for the Debit Balance and Credit Balance, but don't set anything for Account Name. Make sure you have Repeat Group Header on every page turned on. Your results wil be as follows:

{Page1}
Account Name DebitBalance Credit Balance

{Page2}
Account Name

{Page3}
Account Name

{Page4}
Account Name

... etc ...

For this, you would put all the fields into the same Group Header and you wouldn't need the overlay as KBabu suggested (although the overlay would work too ;) ).|||malleyo,
This option did not work well. Thanks for ur idea..

Babu,
This worked out well for other reports..But not for my particular report...I dont know why..i shd study over it......
Thank U

Rohini|||Hi Rohini,
Try the following.
Right click on Debit Balance field, select format field. In the suppress option, write the formula as given below
If GroupNumber>1 then True
Do the same for Credit Balance field also

Madhivanan|||Thanks for ur suggesstion
No this did not work well.

The balance displays for the first group..in a page and is suppressed for the others.
There may be more than one group in a page itself..

Rohini|||Hi Rohini,
Can you post the expected outcome with some sample data?

Madhivanan|||Hai Madhivanan,

Just Have a look at this sample data

Name Debit Bal Credit Bal
-------------------------
1.XYZ 1000
ggdgfdfgd gfsdg 200
shfghfghfgh 500
gjgsdftdf 300

2.ABC 2000
sfggfsdfsd 1500
hngdfgdf 500

3.........

This is the way the report goes..
The name XYZ,ABC are in a group header.
The other details are in detail section.
the balance for XYZ is 1000..the transactions exist for that 1000 rs are shown here.If it extends to the next page...Then the name XYZ should be displayed on the next page too... But not the balance 1000.i.e. 1000 should not be displayed in next page/

Now did u follow my problem?

Thanks ,
Rohini|||Hi Rohini,
Now I clearly understand what the problem is. To overcome this problem use running total, select type of summary as count, Evaluate for each record and reset on change of group. Then place that running total in the details sections. Now right click on Debit Bal ,select format field and in the suppress option write the formula as

If RunningTotalField > 1 then True

Do the same for Credit Bal also

If you dont want to display the running total suppress it.

I think this will give you a solution

Madhivanan|||Hi Rohini,
Did you get the solution? Let me know.

Madhivanan|||Hi madhi,
This did not work out becaz i cannot use running total field there
Just Have a look at this sample data

Name Debit Bal Credit Bal
-------------------------
1.XYZ 1000 -- always this will not be 200+500+300..it can be also 0 or it can be a derived formula field..that is opening or closing balance...
ggdgfdfgd gfsdg 200
shfghfghfgh 500
gjgsdftdf 300

2.ABC 2000
sfggfsdfsd 1500
hngdfgdf 500

3.........

sorry for no replying u.
Regards,
Rohini|||Hi madhi,
This did not work out becaz i cannot use running total field there

Just Have a look at this sample data again

Name Debit Bal Credit Bal
-------------------------
1.XYZ 1000 -- always this will not be 200+500+300..it can be also 0 or it can be a derived formula field..that is opening or closing balance...
ggdgfdfgd gfsdg 200
shfghfghfgh 500
gjgsdftdf 300

2.ABC 2000
sfggfsdfsd 1500
hngdfgdf 500

3.........

sorry for no replying u.
Regards,
Rohini|||Hi Rohini,
Actually there is no need to worry about the result of the running total. Just create a running total field having any one of the fileds of the table.select type of summary as count, Evaluate for each record and reset on change of group. Then place that running total in the details sections. Now right click on Debit Bal ,select format field and in the suppress option write the formula as

If RunningTotalField > 1 then True

Do the same for Credit Bal also

If you dont want to display the running total suppress it.

I tried this and it worked well. The running total field will not generate any sum as the type selected is count.

Madhivanan|||Hey, Sorry for asking such a dumb quest...where is this option of repeating group header on each page?

I have 3 group headers ...2 are suppresed...I want to repeat the unsupressed group header on each page. Please give me the steps to do that.

Thank you
Shruti|||hi sruti,
right click the group header and go to the 'change group' option
In that General and Options will be there...click 'Options'..and then select the 'Repeat Group Header On Each Page' check box

Try this & revert back..

Regards,
Rohini R :)