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 21st, 2004, 05:30 AM
    RitamDhara RitamDhara is offline
    Junior Member
     
    Join Date: Mar 2004
    Posts: 2
    RitamDhara is an unknown quantity at this point (<10)
    Supressing Subreports in Crystal Reports in VB.Net

    I need to suppress the subreports which
    are generated and added to the
    CrystalReportViewer when a Group is clicked.

    Thanks in adv.
    Regards
    Ritam Dhara
    Reply With Quote
      #2    
    Old April 7th, 2004, 05:52 PM
    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+)
    This is based on CR 8.5...

    Put this code into VB (I would assume that it would go under CRViewer_DrillOnGroup, but I'm not sure):

    Report.subReport.Suppress = True

    In order for it to work, 'subReport' needs to be the name you gave the subreport in the designers Properties (it defaults to Subreport1)
    __________________
    I'd rather be wakeboarding...
    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 04: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