Results 1 to 5 of 5
  1. #1
    Thompyt is offline Expert
    Windows 8 Access 2010 32bit
    Join Date
    Sep 2014
    Location
    El Paso, TX
    Posts
    839

    Hiding embedded report in a report


    How do you hide a report if there is no data included in an embedded report? If there is no data, then I don't need to see it or publish it.
    Click image for larger version. 

Name:	EmbedRPT.PNG 
Views:	10 
Size:	76.1 KB 
ID:	24109

  2. #2
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664

  3. #3
    Thompyt is offline Expert
    Windows 8 Access 2010 32bit
    Join Date
    Sep 2014
    Location
    El Paso, TX
    Posts
    839
    ssnafu,
    I tried without avail. Then I realized the Sub Report is in the Report Header section.

    I changed it to be Private Sub ReportHeader.... But I think the issue is that I have 2 page breaks in there also. So it might be a moot point.

    Thanks

  4. #4
    NTC is offline VIP
    Windows 7 64bit Access 2013
    Join Date
    Nov 2009
    Posts
    2,392
    I am not sure I understand your post. If you seek to make not visible a subreport when it has no data - one can use the Has Data method in the On Format section of the report that contains the sub report. Caution: it will stay in that state so you also have to have the inverse logic to make it visible preceding the check for Has Data.

    If instead you wish to make not visible the main report itself - which is what your post states - then that would be an action that occurs in the form - but I'm not sure if that is what you seek.

  5. #5
    Thompyt is offline Expert
    Windows 8 Access 2010 32bit
    Join Date
    Sep 2014
    Location
    El Paso, TX
    Posts
    839
    The subreport I am speaking of in the photo in the original post is the one with "Horse Blanket Change Summary" If I want this to disappear, I have to do it in level 3 Rollup, and not the HB Rollup report?

    Main report = HB Rollup
    Sub report = Level 3 Rollup

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

Similar Threads

  1. Replies: 5
    Last Post: 08-06-2015, 03:26 PM
  2. Replies: 2
    Last Post: 07-10-2013, 11:19 AM
  3. Export embedded report to PDF
    By Aaron5714 in forum Reports
    Replies: 10
    Last Post: 10-22-2012, 11:47 AM
  4. Replies: 4
    Last Post: 05-17-2012, 04:11 PM
  5. Access Report and embedded images
    By joypanattil in forum Reports
    Replies: 0
    Last Post: 11-22-2008, 03:50 AM

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