Results 1 to 3 of 3
  1. #1
    steve7800 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    May 2018
    Posts
    41

    How do I make the subform display multiple records and the form/subform follow each other?

    I highlighted table tbItem in the navigation pane and then Create => Form to make a Single Form named Test which displays the 20-some fields of the table.

    I again highlighted tbItem in the navigation pane and then Create => More Forms => Datasheet to make a datasheet form named Testsub.



    I then used Design => Subform/Subreport to place a subform at the bottom of the detail section of form Test. I linked the form and subform with iID, the autonumber key for tbItem. With this configuration the main form displays a record and the subform follows and displays the same record -- but just that record.

    What I want to do is have the subform display multiple records -- as many records as screen size will allow. And for the form to follow the subform and vice versa with respect to selected record. How do I do that? Property sheet configuration? VBA code?

    Thanks, Steve

  2. #2
    Minty is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    Make sure that TestSub is set to be a continuous form. Put it in the main form footer.
    However the TestSub will only display related records to the master record in the scenario you have described. That is the whole point of a Parent/Child sub form set up.

    What you are describing might be what is sometimes called a Split form, but be warned they aren't easy to work with if you want to do anything other than basic display and editing.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #3
    steve7800 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    May 2018
    Posts
    41
    Thank you Minty. Your suggestion to use a Split form was spot on. I changed the Property Sheet Default View to Split and got what I wanted.

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

Similar Threads

  1. Replies: 6
    Last Post: 11-12-2017, 11:51 PM
  2. Replies: 1
    Last Post: 09-02-2015, 01:16 AM
  3. How to display multiple Subform in main form
    By selvakumar.arc in forum Forms
    Replies: 5
    Last Post: 05-06-2013, 11:42 AM
  4. Replies: 7
    Last Post: 11-07-2011, 06:31 AM
  5. Can I make a subform display only?
    By nkenney in forum Forms
    Replies: 4
    Last Post: 04-01-2009, 11:50 AM

Tags for this Thread

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