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 26th, 2004, 02:58 PM
    StephanieHarris StephanieHarris is offline
    Member
     
    Join Date: Nov 2003
    Location: San Diego, California
    Posts: 49
    StephanieHarris is an unknown quantity at this point (<10)
    Dynamically Create Text Objects

    Hello, I'm not sure if this is possible but I'm really stuck on how else to accomplish what I'm trying to do!!

    I need to display all of a companies departments and summary data with them. I need to always display the department, even if there is no data and the number of departments is always different. My data needs to look something like this:

    Dept Summary Field 1 Summary Field 2
    ----- --------------- ---------------
    1 100 100
    2 200 200
    3 0 0
    etc..

    Is it possible to take a formula that I wrote that reads in all of the departments and strings them together like 1,2,3,etc and dynamically write these values into text boxes in the report header? I know I could do this if I had a fixed number of departments but I don't know how to do this dynamically.

    If this isn't possible, is it somehow possible for me to force a group to display departments that don't have any data to summarize? Thanks so much!

    Steph-
    Reply With Quote
      #2    
    Old March 26th, 2004, 03:51 PM
    harmonycitra harmonycitra is offline
    Member
     
    Join Date: May 2003
    Posts: 163
    harmonycitra is on a distinguished road (20+)
    more details please
    Reply With Quote
      #3    
    Old March 26th, 2004, 04:14 PM
    StephanieHarris StephanieHarris is offline
    Member
     
    Join Date: Nov 2003
    Location: San Diego, California
    Posts: 49
    StephanieHarris is an unknown quantity at this point (<10)
    What I need is a report that displays all of the department numbers along with a count of how many technical support issues they had each month and how many technical support resolutions they had each month.

    Even if a department did not have any technical support issues, I still need to display that department with a value of zero for tech support issues and tech support issues resolved.

    I've tried a bunch of different ways to accomplish this including using a group. Now I'm new at using crystal but it seems to me that if a department had no tech support issues then the department did not even show up in the group. I can't have this.

    So essentially I'm trying to find a creative way to write my report so that I can always show all departments whether they had support issues or not. I'm open to any approaches that will get this done.

    Thanks so much for helping a confused rookie!!

    Stepanie.
    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 05:20 AM.



    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