CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual Basic Programming > Crystal Reports
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old March 18th, 2004, 10:48 AM
    Dougie Dougie is offline
    Junior Member
     
    Join Date: Jul 2002
    Location: Scotland
    Posts: 12
    Dougie is an unknown quantity at this point (<10)
    Custom names for summary fields

    Using Crystal Reports 8.5 I have created a report which displays a pie chart of the column totals in a report. Unfortunately the names of the summary fields are used as labels for the pie chart slices and they are ugly - things like "sum qryOrders.OrderValue". Is there a way to replace these labels with my own choice of text?
    Reply With Quote
      #2    
    Old March 22nd, 2004, 03:54 AM
    Dougie Dougie is offline
    Junior Member
     
    Join Date: Jul 2002
    Location: Scotland
    Posts: 12
    Dougie is an unknown quantity at this point (<10)
    Workaround

    From the deafening silence, the answer appears to be 'No'. In case anyone else has the same issue, here is a workaround. Suppress the display of pie slice labels. Suppress the display of the chart legend. Create your own legend box using the basic drawing tools - filled rectangles - and add your own text labels.
    Reply With Quote
      #3    
    Old June 7th, 2006, 12:42 PM
    inbugable inbugable is offline
    Member
     
    Join Date: Sep 2004
    Posts: 244
    inbugable is an unknown quantity at this point (<10)
    Lightbulb Re: Custom names for summary fields

    For the sake of future Googlers; I too was having this problem, and I had given up when I realized that if you sort "in specified order", you can then set up your "Named Groups" such that the "Group Name" is the name that you wish to have displayed.

    For example, the formula for one of my named groups is "@Allocation" "is equal to" "International Equity", and the name of the group is "Int'l Equity".

    Works like a charm, sorry I'm too late to help you.
    Reply With Quote
      #4    
    Old June 7th, 2006, 04:30 PM
    inbugable inbugable is offline
    Member
     
    Join Date: Sep 2004
    Posts: 244
    inbugable is an unknown quantity at this point (<10)
    Re: Custom names for summary fields

    Well, within a couple of minutes of posting, I realized that this only works if you have only one field to show a value for. So, it's not going to work where I really need it to, but still, it's useful elsewhere.
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Visual Basic Programming > Crystal Reports


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 07:34 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009