Results 1 to 5 of 5
  1. #1
    cotto1968 is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Mar 2017
    Location
    Oregon City, OR
    Posts
    3

    Customer with multiple visits.

    Hi all,



    I've created a form and everything seem to be going good when I found one of the customers has more visits to the shop and I don't know how to be able to put the extra Dates the customer has come in without having to fill in an entire form for the customer. All I want to do is to be able to enter as many times the customer has come in. For example, the one customer came in on the date 3/14/14 then on 4/21/14 then on 5/3/15. How can I add the dates without having to create a new form for each visit?


    Thank you in advance

    Julio

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,845
    sounds like you need to google 'normalisation' to understand how databases are constructed

    you need two tables, one for customers, one for visits. The visits table would be something like

    tblVisits
    VisitPK autonumber
    CustomerFK long - link to tblCustomers
    VisitDate date

    you would create a very simple continuous or datasheet form for tblVisits (only needs the visitdate column displayed) and place it on your customer form as a subform

    Ensure the linkchild and linkmaster properties of the subform control are completed with customerFK and customerPK respectively

    You haven't provided any names for your fields, so the ones I have used are the sort of thing I would use - replace with your names as appropriate.

  3. #3
    orange's Avatar
    orange is online now Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850

  4. #4
    cotto1968 is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Mar 2017
    Location
    Oregon City, OR
    Posts
    3
    Thank you very much for the advice I will put it to work. But first I'm going to watch the free tutorial videos by Dr. Daniel Soper so I can understand it better.

  5. #5
    cotto1968 is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Mar 2017
    Location
    Oregon City, OR
    Posts
    3
    Thank you very much for the advice I have already begun to watch the videos... again thanks!

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

Similar Threads

  1. Contact/Customer Database plus multiple attachments
    By darkan99el in forum Database Design
    Replies: 2
    Last Post: 07-14-2014, 12:11 PM
  2. Replies: 6
    Last Post: 12-11-2013, 09:27 PM
  3. Replies: 2
    Last Post: 12-02-2013, 04:20 PM
  4. Replies: 3
    Last Post: 02-27-2013, 10:35 PM
  5. Multiple adresses for a customer
    By tostgulen in forum Database Design
    Replies: 3
    Last Post: 01-06-2013, 02:25 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