Results 1 to 2 of 2
  1. #1
    nanderson is offline Novice
    Windows 10 Access 2016
    Join Date
    Oct 2019
    Posts
    6

    Sub-report loading when button pressed

    I have a form that I have a series of buttons. I also have a subreport that I would like to have load within in that same form when the button is pressed. How do I go about doing this?

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,424
    have a subform control on your form and for your button click event put

    me.subformcontrolname.sourceobject="report.nameofr eport"

    No information provided about how your form works so you may need additional code in the form current event to reset or hide the subform control.

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

Similar Threads

  1. Replies: 3
    Last Post: 03-16-2016, 07:41 AM
  2. Replies: 4
    Last Post: 02-05-2014, 04:05 PM
  3. Replies: 2
    Last Post: 01-24-2013, 09:03 AM
  4. Replies: 3
    Last Post: 04-17-2012, 03:26 PM
  5. Replies: 4
    Last Post: 10-28-2011, 03:28 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