Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    charlea is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2016
    Posts
    17

    Sub form continuous is single when opened in main form

    Main form is single form Order
    Sub form is continuous OrderDetail master link OrderID, Child OrderID


    When the sub form is opened by itself it is continuous showing all Details.
    When I put it in the detail section of the Order form as a sub form it shows as a single form not showing the multiple OrderDetails associated with each order.

    Any suggestions?

  2. #2
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Check that you are using the correct form as the subform.

  3. #3
    charlea is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2016
    Posts
    17
    What do you mean by "correct form"?

  4. #4
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    The name under the "source property"

  5. #5
    charlea is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2016
    Posts
    17
    Main form:
    OrderF, Record source OrderT, Single form, Order By [OrderT].[OrderID] DESC
    subform:
    OrderDetailF, Record Source OrderDetailT, Continuous form, Order by [OrderDetailT].[OrderID] DESC, Link Master OrderID, Link Child OrderID

  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,521
    FYI, I moved post 5 from an unrelated thread to here, which is where I assume it was intended. Let me know if not.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  7. #7
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    The "source object" property is the name of the subform and is on the main form, not on the subform. In the main form design view, click on the subform object and check the name under this property.

  8. #8
    charlea is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2016
    Posts
    17
    Quote Originally Posted by aytee111 View Post
    The "source object" property is the name of the subform and is on the main form, not on the subform. In the main form design view, click on the subform object and check the name under this property.

    "source object" Main form design view>selected the subform (line around the perimeter of the sub form) went to property sheet under 'Other' name is OrderDetailF. Did I give you the information that you asked for?

  9. #9
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    No, it is under "Data" and needs to be the name of the subform. It is probably correct, but before we can go further it is best to check and see that you are showing the correct form. The issue you are describing doesn't make any sense at all.

  10. #10
    charlea is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2016
    Posts
    17
    Quote Originally Posted by aytee111 View Post
    No, it is under "Data" and needs to be the name of the subform. It is probably correct, but before we can go further it is best to check and see that you are showing the correct form. The issue you are describing doesn't make any sense at all.
    Thanks of letting me know that it is under "Data" the source Object is OrderDetailF.

  11. #11
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    OK. This seems like a strange error. Next thing to try is to recreate it - delete the subform, drag it from the nav pane to the form. Leave the links blank at first. See if that helps.

    If you could post a copy of your database that would help too.

  12. #12
    charlea is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2016
    Posts
    17
    I tried to send a zipped copy of the database. Did you receive it?

  13. #13
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    No. Select "Go Advanced", then click on the attachment icon.

  14. #14
    charlea is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Dec 2016
    Posts
    17

    copy of database for aytee111

    Copy.zip Let me know if you received the attachment.

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

    Quote Originally Posted by charlea View Post
    Main form is single form Order
    Sub form is continuous OrderDetail master link OrderID, Child OrderID
    When the sub form is opened by itself it is continuous showing all Details.
    When I put it in the detail section of the Order form as a sub form it shows as a single form not showing the multiple OrderDetails associated with each order.

    Any suggestions?
    On the main form "ManageOrdersF", the subform control "OrderDetailF" is too short to display the records. Make the Height property of the sub form at least 4.75".


    On a side note, I see you are displaying fields that are autonumbers on the forms. Not really a good idea......
    See
    Autonumbers--What they are NOT and What They Are
    http://www.utteraccess.com/wiki/Autonumbers

    Microsoft Access Tables: Primary Key Tips and Techniques
    http://www.fmsinc.com/free/newtips/primarykey.asp

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 03-27-2017, 07:48 PM
  2. Replies: 2
    Last Post: 06-14-2016, 03:01 PM
  3. Replies: 1
    Last Post: 04-18-2016, 04:55 PM
  4. Replies: 2
    Last Post: 02-28-2013, 07:29 AM
  5. Replies: 6
    Last Post: 08-30-2012, 06:23 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