Page 4 of 4 FirstFirst 1234
Results 46 to 48 of 48

Access 2010 Code needed for List Box and Sub-Form

  1. #46
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    48,339
    My suggestion was to use a compound index. This would prevent the same combination of lastname, firstname, phone number. It is discussed in the referenced article.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  2. #47
    Leen is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2014
    Posts
    70
    Thank you for your suggestion.
    However, after reading the whole article two times, I still don't see the thing I want. Do I set the value to unique? How then can two out of three fields be the same? If I set the value to "allow duplicates", it defeats the purpose, don't you think?
    As you describe the "compound index" it appears that is exactly what I'd like, but then with what setting?

    Thanks,

    Leen

  3. #48
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    48,339
    The 3 fields combined would be defined as unique.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Page 4 of 4 FirstFirst 1234
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 9
    Last Post: 05-07-2013, 08:37 PM
  2. Replies: 12
    Last Post: 01-07-2013, 03:32 PM
  3. HELP>Access 2010 User Login Form Code.
    By zaaimanm in forum Programming
    Replies: 5
    Last Post: 10-22-2012, 07:28 PM
  4. Replies: 0
    Last Post: 07-31-2012, 12:25 PM
  5. code needed to filter form using combo boxes
    By drjim in forum Programming
    Replies: 1
    Last Post: 06-29-2012, 01:50 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Tech Forums: Microsoft Office Forums