Results 1 to 2 of 2
  1. #1
    cysklement is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Sep 2013
    Posts
    15

    is this a one to one or one to many relationship?

    Hi, I could someone help me out with this please:

    customer A rent an equipment. then few years later, customer A returns the equipment. After that customer B rent the equipment returned by customer A. But the database must have history records of customer A to show that customer A had leased that particular equipment. Also in the database, if the equipment is faulty, customer B will logged a complaint using the asset tag of the equipment. So when the operator keys in the assettag of the equipment. it shall show the details of customer b without showing A....

    Your help is kindly appreciated,



    thanks

  2. #2
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    If you have one equipment to many customers that is the same equipment added to each customer. That is a one to many.

    If you have one equipment that has a history of many customers you are pulling in the customers that have used the same ID (the ID of that equipment). You would have a subform that lists customers that have purchased the same particular tool. That way on the tool history you can see the customers as a list.

    If you have one equipment with many customers at one time - then you need a many to many.

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

Similar Threads

  1. Help with a One to Many relationship
    By ByronSmith3 in forum Database Design
    Replies: 4
    Last Post: 09-13-2014, 04:30 PM
  2. One to one relationship
    By anemoskkk in forum Access
    Replies: 1
    Last Post: 04-13-2011, 12:05 PM
  3. Relationship
    By ClownKiller in forum Database Design
    Replies: 13
    Last Post: 12-21-2010, 05:49 PM
  4. many-to-one relationship
    By reverze in forum Access
    Replies: 7
    Last Post: 07-14-2010, 10:03 AM
  5. One to one relationship
    By ManvinderKaur in forum Database Design
    Replies: 2
    Last Post: 06-28-2010, 05:37 PM

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