Print Page | Close Window

Can I get rid of column names in group header rows

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=15050
Printed Date: 15 November 2024 at 3:52am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Can I get rid of column names in group header rows
Posted By: Mike Lewis
Subject: Can I get rid of column names in group header rows
Date Posted: 26 August 2009 at 3:51pm
I have a report with a column called Status. The word "Status" is the column heading. The column contains values such as "Under review" and "No futher action".

I give the user the option of grouping on that column. If they choose to do so, I do the grouping programmatically (by adding the column to the GroupsOrder collection).

All this works fine, except for one detail. In the group header rows, I see the word "Status" followed by a colon, followed by the actual value of the column. For example: "Status: Under review".

Is it possible to get rid of the string "Status:" in the group header rows? I just want to show "Under review", etc. I don't want to remove the heading from the actual status column within the report (in any case, when I do that, I still see the colon).

This is ver. 13.1, by the way.

Thanks in advance.

Mike


-------------
Mike Lewis
Software Developer
Edinburgh, Scotland



Replies:
Posted By: joeliner
Date Posted: 28 August 2009 at 2:24am
on add record

    Set Item = Record.AddItem("")
    Item.Value = status
    Item.GroupCaption = status

'where status is the variable that holds say 'Under review'

regards,


-------------
Product: Xtreme SuitePro (ActiveX) version 13.1
Platform: Windows XP SP 3
Language: Visual Basic 6 SP6


Posted By: Mike Lewis
Date Posted: 28 August 2009 at 3:22am
Excellent. Worked perfectly.

Many thanks,  JoeLiner.

Mike



-------------
Mike Lewis
Software Developer
Edinburgh, Scotland



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net