Results 1 to 3 of 3
  1. #1
    webdancer is offline Novice
    Windows 10 Access 2016
    Join Date
    Dec 2023
    Location
    Vancouver,WA
    Posts
    2

    One-to-many going the wrong way


    Hi,

    I am creating a database used in writing a book. Of the tables there is one for the book and one for the chapters. When I make a connection between the two connects with the many on the book side and one on the chapter. It seems that the "many" should be on the chapter side since I will create many chapters to one book. Is there a way to manually specify which goes where. Or what can I change. The chapID in the tbl_chap is autonumber and chapters in tbl_book is number.

    Click image for larger version. 

Name:	Untitled.jpg 
Views:	7 
Size:	12.2 KB 
ID:	51244


    Thank you for your help,
    Joseph

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,940
    Delete the link, and create it in the other direction.
    I normally drag from the one to the many.

    You need the bookID in the chapter table.
    No chapter in book table. You get that from the chapter table.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    webdancer is offline Novice
    Windows 10 Access 2016
    Join Date
    Dec 2023
    Location
    Vancouver,WA
    Posts
    2
    Awesome! Thank you so much for your help.

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

Similar Threads

  1. what is wrong ?
    By dino in forum Access
    Replies: 19
    Last Post: 07-29-2015, 11:13 AM
  2. What am I doing wrong?
    By Access_noob_ in forum Programming
    Replies: 3
    Last Post: 11-03-2014, 10:47 AM
  3. VBA gone wrong with an if
    By Ruegen in forum Programming
    Replies: 2
    Last Post: 10-21-2013, 05:38 PM
  4. What's wrong!
    By khalid in forum Programming
    Replies: 15
    Last Post: 06-27-2011, 06:38 AM
  5. What is wrong with this IFF?
    By bburton in forum Reports
    Replies: 2
    Last Post: 03-16-2011, 10:42 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