Results 1 to 5 of 5
  1. #1
    Crawfordrider33 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2015
    Posts
    5

    Inputting Yes or No for Duplicate Names HELP!!

    Hi Everyone!



    I'm looking to write an update query that will input yes or no for names that are duplicated in a table. What would this update query look like?! Please help!!

    Thank you,

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    Why do you have duplicates? Why an update query?
    Can you tell us more about this application in plain English?

  3. #3
    Crawfordrider33 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2015
    Posts
    5
    I'm working with a list of investors that have multiple properties so I'm trying to identify the ivestors that are new. So if there is only 1 investor name I want to identify them in a column I have labeled "New Investor" with a Yes. If there multiple properties with the same investor name I want to label the investor name with a "No" indicating that they are not a new investor.

  4. #4
    NoellaG's Avatar
    NoellaG is offline VIP
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,175
    And what would you do after a month when the 'new' investor purchases a second property? I would suggest you review your database structure; you should at least have 2 tables: tblInvestors and tblProperties

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    Your data structure is suspect. If 1 investor can own 1 or many Properties, then this business fact is identifying a 1 to Many relationship between Investor and Property. As noella says --Your tables should at least show
    Code:
        1 ----------> Many
    Investor -->Property
    I think you would benefit greatly by working through this tutorial from RogersAccessLibrary.

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

Similar Threads

  1. Replies: 6
    Last Post: 01-08-2018, 12:39 PM
  2. Limit on inputting records
    By IT_Charlies in forum Access
    Replies: 1
    Last Post: 01-15-2013, 05:24 PM
  3. Replies: 5
    Last Post: 04-24-2011, 03:14 AM
  4. check for duplicate First and Last names?
    By newtoAccess in forum Access
    Replies: 3
    Last Post: 03-19-2011, 04:05 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