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 10th, 2004, 04:15 PM
    cmpgeek's Avatar
    cmpgeek cmpgeek is offline
    Junior Member
     
    Join Date: Mar 2004
    Location: NE georgia USA
    Posts: 5
    cmpgeek is an unknown quantity at this point (<10)
    Question 1 report with 100 groupings and 1000 formulas???

    I am writing a report that needs to list whether or not there was a case going on in a particular room at a particular time. My boss wants it to be formatted like a cross tab report with the time intervals going down and the rooms going across the page. I was hoping that i could write it as a cross tab report, but the more i tried the more frustrated i got. MY biggest issues are that the time intervals my boss wants on this report is every 15 minutes. which means 96 separate groupings... there are also 12 rooms that will be looked at... when you take the number of groupings and the number of formulas i would need for each grouping, i end up with a total over 1100!

    if that is the only way to do the report, then i will get started right away, but i have a feeling i am overlooking something rather obvious because i can not imagine having a report with that many groupings and / or formulas...

    i am using Crystal 8.5 on an Oracle database...

    any suggestions would be greatly appreciated...
    thanks...
    __________________
    i run crystal 8.5 on an Oracle 8 database...

    cmpgeek
    Reply With Quote
      #2    
    Old March 11th, 2004, 10:15 AM
    malleyo malleyo is offline
    Member +
     
    Join Date: Jul 2003
    Location: Florida
    Posts: 651
    malleyo has a spectacular aura about (125+)malleyo has a spectacular aura about (125+)
    Are you using VB to generate the report? If so, you could do all your queries in VB and use CDO to pass the info into Crystal. I'm not sure about you're needs, but I've found it easier to get the data I need with one or more queries executed in VB and then passing the data to Crystal.

    CDO (Crystal Data Objects) works by populating an array with your data. You would basically be creating your own "recordset" (called rowset in CDO).

    If you want info on CDO, look at my post here:

    http://www.codeguru.com/forum/showth...&highlight=cdo
    __________________
    I'd rather be wakeboarding...
    Reply With Quote
      #3    
    Old March 11th, 2004, 11:37 AM
    cmpgeek's Avatar
    cmpgeek cmpgeek is offline
    Junior Member
     
    Join Date: Mar 2004
    Location: NE georgia USA
    Posts: 5
    cmpgeek is an unknown quantity at this point (<10)
    unfortunately, the things you have mentioned are completed foreign to me...

    i started a new cross tab from scratch, and it is working, but i have a couple problems with it still...

    while i do not have the options checked to suppress empty rows and columns, it is doing it anyway...

    also, i have it setup to count the number of cases that start within each 15 min interval, but what i truly want is a count of cases that are happening within that 15 minute interval... (ie... if 2 cases start between 0800 and 0815, but there are also 2 cases that started earlier that are still being done, i want crystal to tell me there are a total of 4 cases going on at that time.)

    right now, i have the groupings based on {case.room_start} and sorting in a specified order that i set up at 15 min intervals... but because i set it up in the group's sorting option, i can not use other fields to help set up the sort... i see that "and" option, but not an "or" option... if that makes sense... i am just trying to figure out how to give "credit" to a room that may have started in a previous 15 min interval so that it shows as being used during that interval...

    i feel like i am talking in circles, and i apologize if that is how it is coming off as well...

    thanks for taking the time to read this...
    cmpgeek
    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 10:09 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