Results 1 to 2 of 2
  1. #1
    sdcp73 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2013
    Posts
    1

    Question Forms and Tables - Relationships

    Hi All

    I have been researching the forums and have found my problem, but am struggling to find a solution.

    I am using Access 2010 to build what I believe is a pretty basic database. I have 5 tables that I want to populate with a form using tab controls. The relationship that I am trying to build between the five tables is causing a bad query, because of the relationships, I think. This causes my form to disappear in form view.

    My main table contains my "basic" information. The primary key field in this table is an ID number. I want the number input into the form for this field to populate an ID field in the remaining four tables. For these four tables I have separate tabs on my form.

    To create the relationships I dragged the primary key from the basic table to the ID field for each of the other tables. I have checked the referential integrity and cascading options. This is where I think my solution will be. Can I have a one-to-many relationship from the basic table to all the others?

    Thanks for any help!


    Click image for larger version. 

Name:	relationships.JPG 
Views:	18 
Size:	48.8 KB 
ID:	12629

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    A form can enter/edit data into only one table. The query that includes all 5 tables is not editable. Use form/subform arrangement. Review 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.

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

Similar Threads

  1. Replies: 2
    Last Post: 11-02-2012, 12:11 PM
  2. Replies: 7
    Last Post: 10-04-2012, 01:21 PM
  3. Replies: 3
    Last Post: 09-17-2012, 07:53 AM
  4. Relationships/Joins/Forms STUCK
    By cooper in forum Forms
    Replies: 4
    Last Post: 08-04-2011, 02:21 PM
  5. Record relationships in forms
    By avarusbrightfyre in forum Forms
    Replies: 2
    Last Post: 09-10-2009, 04:00 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