Results 1 to 3 of 3
  1. #1
    ariansman is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2013
    Posts
    57

    prevent similar data entry?


    Different users are putting data for our customers. How can we figure if we are making a duplicate record for the same costumers and prevent that? I mean for example a costumer name is “Scarlett Johansson”, and a record is made for her. Then another user is entering the same data for the costumer, but the user types” Scarlett Johanson”. A typo is here. Can access warn us that a similar costumer name already exists and let us decide whether to proceed with data entry or not?

  2. #2
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2013 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    The most important thing to do is make entry of the name a combobox.

    Then in the AfterUpdate of the combobox you could create a routine to check different things. For instance, it could separate out the first name and last name and then show the user all names with the same first name, or same last name. You could also make some design decisions about what to match on - Access is very specific! Such as the first few characters or the last few or mix and match. You will have to decide beforehand what could work.

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

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

Similar Threads

  1. Prevent data entry or deletion
    By mortonsafari in forum Forms
    Replies: 3
    Last Post: 02-01-2016, 01:10 PM
  2. Replies: 2
    Last Post: 06-11-2015, 08:42 AM
  3. Replies: 7
    Last Post: 03-05-2015, 07:34 AM
  4. Prevent Duplicate Entry
    By kilosierra71 in forum Forms
    Replies: 4
    Last Post: 07-28-2011, 03:08 PM
  5. Customer Entry/Find Duplicate/Similar names
    By pkstormy in forum Code Repository
    Replies: 0
    Last Post: 08-27-2010, 09:20 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