Results 1 to 2 of 2
  1. #1
    TinaCa is offline Advanced Beginner
    Windows Vista Access 2010 32bit
    Join Date
    Jul 2011
    Posts
    87

    SUM FIELD USING SUBREPORT DISAPPEARS....this is a fun one

    I have a field in the Group footer of my report that is supposed to add values from two different subreports.

    The expression is: =IIf([rptSubInvOutstanding].[Report].[HasData],[rptSubInvOutstanding].[Report]![Diff]+[rptInvoicesSub].[Report]![txtGrSum],[rptInvoicesSub].[Report]![txtGrSum])

    If the rptSubInvOutstanding does not have data the field shows properly with the value from txtGrSum. However if rptSubInvOutstanding does have data the field does not show at all.

    Just to add a little fun to it, if rptSubInvOutstanding does have data the system print previews a page with no totals and then an extra page with the proper totals. Fun Huh?

    I am hoping that if we can fix the first issue that the other one will go away.....I hope.



    Thanks

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,816
    Want to provide db for analysis? Follow instructions at bottom of my post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Subform Disappears
    By Huddle in forum Forms
    Replies: 3
    Last Post: 05-30-2012, 07:02 AM
  2. Replies: 5
    Last Post: 02-05-2012, 07:58 PM
  3. Grand total of field on a subreport
    By degras in forum Reports
    Replies: 9
    Last Post: 02-03-2011, 12:09 PM
  4. Replies: 3
    Last Post: 06-23-2010, 02:02 PM
  5. Subreport Calculation field
    By Cheshire101 in forum Reports
    Replies: 2
    Last Post: 01-14-2010, 05:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums