Results 1 to 2 of 2
  1. #1
    imp is offline Novice
    Windows XP Access 2000
    Join Date
    Oct 2011
    Posts
    1

    access relationships

    i has created a database in access 2000 with two tables named "author" and "books". "author" table contains following fields- authorid(primary key), firstname, lastname. & "books" table contains following fields- title, authorid, price, pages. there is a one to many relationship in these tables. now i want to do data entry. in which table i should do it? or i should create a new form to data entry. if in form i must do entry, so which fields should be taken in the form. please explain in detail and step by step and please reply very soon, if possible, so reply right now

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,643
    Since a book can have more than one author (collaborators) and an author more than one book (of course), this is a many-to-many relationship. This requires a junction table.

    tblAuthorBook
    AuthorID
    BookID

    If you want to limit each book to one author, then no junction table and put the AuthorID in Books table.

    Data entry requires more than one form. Could do a form/subform arrangement. Main form bound to Authors, subform bound to Books. Master/Child link properties of the subform container control will synchronize the two. Access Help has guidelines on building this structure.
    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. Access Relationships??
    By TEJ09242010 in forum Access
    Replies: 1
    Last Post: 09-09-2011, 12:31 PM
  2. Implicit / explicit relationships in Access
    By starson79 in forum Access
    Replies: 4
    Last Post: 01-26-2011, 08:50 AM
  3. Access relationships
    By giovetti in forum Access
    Replies: 4
    Last Post: 12-05-2010, 03:13 PM
  4. Too Many Relationships
    By MikeT in forum Database Design
    Replies: 4
    Last Post: 08-25-2010, 07:23 PM
  5. Access - car rental relationships
    By ipwn in forum Access
    Replies: 0
    Last Post: 03-09-2009, 07:18 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