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 16th, 2005, 11:56 PM
    kristyw kristyw is offline
    Member
     
    Join Date: Mar 2005
    Posts: 65
    kristyw is an unknown quantity at this point (<10)
    Passing figures calculated in subreports

    Can anybody tell me if it is possible to use a variable calculated within a subreport outside this scope (in the parent report)?

    I have to list (eg) an opening balance, set of processing data, adjustments, then a closing balance.

    The opening balance is a single figure in my main report, and the processing data is in the details section along with it's sum. This leaves the adjustments which have to be listed individually and then summed - done in a subreport. Can I access this sum in the body of the main report, as I need it to calculate a closing balance.

    Thank you!
    Reply With Quote
      #2    
    Old March 18th, 2005, 04:51 AM
    Madhi Madhi is offline
    Senior Member
     
    Join Date: Jul 2004
    Location: Chennai, India
    Posts: 1,064
    Madhi will become famous soon enough (50+)
    Re: Passing figures calculated in subreports

    Use shared variable
    __________________
    Madhivanan

    Failing to plan is Planning to fail
    Reply With Quote
      #3    
    Old March 20th, 2005, 10:53 PM
    kristyw kristyw is offline
    Member
     
    Join Date: Mar 2005
    Posts: 65
    kristyw is an unknown quantity at this point (<10)
    Re: Passing figures calculated in subreports

    Thanks for pointing me in the right direction. If anyone else is interested here is an article which gave a clear step by step explanation:

    http://www.experts-exchange.com/Data..._21141425.html
    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 06:02 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