Results 1 to 13 of 13
  1. #1
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664

    Combining two forms by making one form a subform

    I have a db with two forms one that is small and one that is large. I would like to add the small form to the large form by making the small


    form a subform. Is there a set procedure to do this?

    I am using MS Access 2010 64 bit edition.

    I just do not want to start over and create a new subform from scratch.

    Any help appreciated. Thanks in advance.


    Respectfully,


    Lou reed

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    You can use the subform wizard to add it to the big form.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    Okay, that seems like the best option so here is what I did.

    1. Right-click the existing form in the Navigation Pane and then click design view. (this pen up the master form in design view)
    2. On the Design tab in the controls group ensure that the Use Control Wizards is selected. (I did that easily enough)
    3. On the Design tab, in the Controls group, click the Subform/Subreport button. (I did that and nothing happened. this is my first time using the Subform/Subreport wizard ever so I am unsure as to what happened. I believe that nothing happened.)

    Now if the Wizard does not start it says in the MS Access instructions it is possible Access is running in sandbox mode but Microsoft Jet SP8 or later is not installed. Jet 4.0 SP8 or later is required for Access
    to be fully functional when sandbox mode is enabled. How do I tell if Microsoft Jet SP8 is installed.

    I am of course referring to the SubForm/SubReport Wizard not the Form Wizard, but I am curious if this could be the cause of inactivity when the SUbForm/SubReport Wizard is click. I am not even sure to tell
    what mode I am running MS Access 2010 in.

    So I need help with this.

    Thanks in advance.

    Respectfully,

    Lou Reed

    The link to the instructions is now shown:

    https://support.office.com/en-us/art...a-1e74d6f5f06b

    I am just making a wild guess, but it seems possible.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    Nothing will happen until you click the location on the form that you want to place the subform (let's call it step 4). Then the wizard should start.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    I will give it a try.

    Okay, but please understand that I do not want to create a subform I already have one. It is just a small form that I am now going to use
    as a subform. It would seem more appropriate to use "copy and paste" or "click and drag". When I read click the location on the form where you want to place
    the subform, it makes me think that I creating something new, a subform, instead of just using an existing form in different way. It is not a subform yet until I place it on the form.

    Thank you.

    Respectfully,


    Lou Reed
    Last edited by Lou_Reed; 02-02-2017 at 08:09 AM. Reason: correction

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    The wizard will let you choose the small form. I think you can just drag the small form onto the large, but I don't know if you'll get the wizard, which will ask about joining fields and such.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  7. #7
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664

    adding subform to form

    This steps that I talked about yesterday are easy. The difficulty comes in placing the small form (now as a subform) on the large master form. It seems that if I put it over a another object or control that object turns black. Is this normal?

    Also, I tried to put it down lower on the form and it shows up is design view, but disappears in form view. That is not good especially if one wants to enter data later on that form and subform.

    I have seen subforms actually extend over the boundaries of a form and that is fine. I can live with that. It is that the subforms bottom area is now lower than
    the masterforms bottom section or area. The master form no longer contains completely the subform.

    I just do not want things to turn black when I put my subform on them or things the subform to be visible in design mode and disappear in
    form mode.

    Any help appreciated. Thanks in advance.

    Respectfully,

    Lou Reed
    Last edited by Lou_Reed; 02-03-2017 at 12:28 PM. Reason: correction

  8. #8
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    If the subform doesn't show up, it could be that it doesn't return any records or allow new records. As to its size and position, both can be changed. Can you attach the db here?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  9. #9
    redekopp is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Oct 2015
    Location
    Saskatoon
    Posts
    108
    Lou, open your "Large Form". go to Design, click on Subform/SubReport once. Go down onto your "Large form" with your mouse and think of it as dragging open a big window to view your "Small Form". Drag that sucker to the size you want. You can play with resizing it and moving it around after. Once you release the mouse the wizard will start. Change to "Use and existing form". Select your "Small form" and proceed through the wizard.

    That's it!

  10. #10
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664

    Attached attach form does not easily become a subform on a Master form

    Okay the MS Access 2010 database file is attached. It should show the problem of simply adding a subform to a form. Then not having anyplace
    to put it on the master form so it looks neat and tidy. It either disappears or it is just jammed in to the master form.

    Any help appreciated. Thanks in advance.

    Respectfully,

    Lou Reed

  11. #11
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664

    attached file

    I must apologize. I have no idea why the *.zip db file is not uploading. I press the upload radio button and it seems nothing happens.

    Respectfully,

    Lou Reed

  12. #12
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664

    db file attached

    Oaky, I could not upload the files because it was too big - before repair and compact. So I repaired and compacted and then zipped it.

    It should be attached now.

    Respectfully,

    Lou Reed
    Attached Files Attached Files

  13. #13
    redekopp is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Oct 2015
    Location
    Saskatoon
    Posts
    108
    Which form and subform? i dont think you mentioned.

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

Similar Threads

  1. Combining values from different forms
    By DavidWrightSr in forum Access
    Replies: 34
    Last Post: 02-18-2017, 10:45 PM
  2. Making forms look better
    By Lou_Reed in forum Access
    Replies: 2
    Last Post: 04-18-2016, 12:56 PM
  3. Replies: 3
    Last Post: 04-17-2012, 10:28 AM
  4. Replies: 8
    Last Post: 11-08-2011, 05:11 AM
  5. Replies: 12
    Last Post: 07-18-2011, 12:47 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