Results 1 to 4 of 4
  1. #1
    Gobbles is offline Novice
    Windows 10 Access 2019
    Join Date
    Dec 2024
    Posts
    1

    Tables and Relationships Conundrum


    I have a Purchase Orders table and I have a Purchase Order component in my Database. When we place a Purchase Order, although the relationships are with Purchase Orders table and Suppliers table, we would like to somehow link the Customers Job Card (why the parts are ordered) to the Purchase Order or the CUstomer Order to the Purchase Order so that we can write a query to put in a form so that the user can navigate from one Purchase Order record to the other and see what Purchase Order belongs to what Job Card or Order (either one is okay?) How would i do this. Currently if i link the Job Card to the Purchase Order PROBLEM: it gives a message that the record is required in the Purchase Orders so it doesnt save the Job Card, same goes if I create the Order ID in Purchase Orders. Have you got advice for me on how to bypass this problem or to achieve this form that shows the Purchase Order and Relating Order or Job Card. I have made sure the all tables are "empty" so that there is no clash with records and no records etc.

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,236
    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
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 11 Access 2021
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,610
    Quote Originally Posted by Gobbles View Post
    I have a Purchase Orders table and I have a Purchase Order component in my Database. When we place a Purchase Order, although the relationships are with Purchase Orders table and Suppliers table, we would like to somehow link the Customers Job Card (why the parts are ordered) to the Purchase Order or the CUstomer Order to the Purchase Order so that we can write a query to put in a form so that the user can navigate from one Purchase Order record to the other and see what Purchase Order belongs to what Job Card or Order (either one is okay?) How would i do this. Currently if i link the Job Card to the Purchase Order PROBLEM: it gives a message that the record is required in the Purchase Orders so it doesnt save the Job Card, same goes if I create the Order ID in Purchase Orders. Have you got advice for me on how to bypass this problem or to achieve this form that shows the Purchase Order and Relating Order or Job Card. I have made sure the all tables are "empty" so that there is no clash with records and no records etc.
    Can you post a copy of the db
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  4. #4
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,173
    Maybe like this?
    Attached Thumbnails Attached Thumbnails POJobCard.JPG  

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

Similar Threads

  1. Replies: 4
    Last Post: 06-04-2013, 01:13 PM
  2. Data Label Conundrum in XY Scatter Chart
    By Paul H in forum Reports
    Replies: 8
    Last Post: 01-25-2013, 10:21 AM
  3. A Datasheet Conundrum
    By Paul H in forum Forms
    Replies: 1
    Last Post: 10-11-2011, 01:46 PM
  4. Conditional Criteria Conundrum
    By nypedestrian in forum Queries
    Replies: 2
    Last Post: 09-01-2011, 12:23 PM
  5. Replies: 4
    Last Post: 11-03-2010, 08:17 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