Results 1 to 5 of 5
  1. #1
    RichardGR is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Apr 2013
    Posts
    3

    'SubTable' to manage items attached to a specific record

    Hello,


    I am trying to develop a database to record members at a sailing club, and I have stumbled across a small problem.

    Each member has a boat, some more than one, attached to them and I want to explore the possibility of having a 'sub-table' inside the members table.

    Here is how I am thinking it would go together:
    Members are stored in table tblMembers
    Boats are stored in table tblBoats
    tblBoats
    and tblMembers are stored in _membershipdata.accdb

    The data is then inputted and edited through forms in file _interface.accdb

    Is anyone able to guide me on how to go about this please?

    Thank you very much,
    Richard

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Can each boat be associated with more than one member? If yes then use a third 'junction' table to associate members and boats. If no then just save the member ID in tblBoats.

    You might want to use form/subform arrangement for data entry/edit http://office.microsoft.com/en-us/ac...010098674.aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    RichardGR is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Apr 2013
    Posts
    3
    Each boat can be associated with more than one member, however it is very unlikely that there will be circumstances when this occurs.

    When you say to save the Member ID in tblBoats, how would I be able to do this in a way that meant that I could create new boats through a member editing form and it would automatically save so that whenever I open up that specific member, it only shows the option to create a new boat and also sees only the boats associated with that member?
    Thanks,
    Richard

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Use form/subform arrangement. Did you review the link I posted?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    RichardGR is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Apr 2013
    Posts
    3
    Thanks June, I've looked at the link - and it works perfectly now. The problem is now Solved.

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

Similar Threads

  1. How to highlight cell in subtable
    By togo in forum Access
    Replies: 16
    Last Post: 10-02-2012, 02:46 PM
  2. Replies: 8
    Last Post: 09-06-2012, 09:53 AM
  3. Replies: 12
    Last Post: 08-21-2012, 02:40 PM
  4. How do I subtable?
    By blippy in forum Database Design
    Replies: 7
    Last Post: 07-21-2011, 10:49 AM
  5. Subtable of Two Tables
    By swalsh84 in forum Queries
    Replies: 3
    Last Post: 04-30-2010, 10:41 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