Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Can I get rid of column names in group header rows
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Can I get rid of column names in group header rows

 Post Reply Post Reply
Author
Message
Mike Lewis View Drop Down
Groupie
Groupie


Joined: 29 April 2009
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mike Lewis Quote  Post ReplyReply Direct Link To This Post Topic: Can I get rid of column names in group header rows
    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
Back to Top
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Mike Lewis View Drop Down
Groupie
Groupie


Joined: 29 April 2009
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mike Lewis Quote  Post ReplyReply Direct Link To This Post Posted: 28 August 2009 at 3:22am
Excellent. Worked perfectly.

Many thanks,  JoeLiner.

Mike

Mike Lewis
Software Developer
Edinburgh, Scotland
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.