Results 1 to 2 of 2
  1. #1
    Triad is offline Novice
    Windows Vista Access 2003
    Join Date
    Jul 2010
    Posts
    1

    Question Unique Values and Boolean Fields

    "I was wondering if it's possible to make a LookUp field only accept duplicate values, provided the boolean field to all other duplicates are checked."

    The duplicate values would be the ItemID whereas the Boolean field refers to whether the Item has been returned or not.

    So this means the Item can only be hired out again IF it has been returned.

    -Hope this makes sense, I'm not an expert on Access either so please can I be given clear instructions, I am using Microsoft Access 2000.

    Thanks in advance.

  2. #2
    Join Date
    May 2010
    Posts
    339
    Quote Originally Posted by Triad View Post
    "I was wondering if it's possible to make a LookUp field only accept duplicate values, provided the boolean field to all other duplicates are checked."

    The duplicate values would be the ItemID whereas the Boolean field refers to whether the Item has been returned or not.

    So this means the Item can only be hired out again IF it has been returned.

    -Hope this makes sense, I'm not an expert on Access either so please can I be given clear instructions, I am using Microsoft Access 2000.

    Thanks in advance.
    If you are using a Y/N checkbox, you can use a query to filter records that have the box checked which are -1 or unchecked boxes which are 0. Hope this helps.

    Richard

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

Similar Threads

  1. Using an Update query to autofill boolean
    By Fuzzyjello in forum Queries
    Replies: 13
    Last Post: 06-09-2010, 10:27 AM
  2. Count of Unique Values
    By vsmk in forum Queries
    Replies: 2
    Last Post: 03-14-2010, 12:07 AM
  3. Sum values in concatenated fields
    By jdrubins in forum Reports
    Replies: 4
    Last Post: 09-01-2009, 07:20 AM
  4. Prevent Duplicate Values on Combination of Two Fields
    By LornaM in forum Database Design
    Replies: 8
    Last Post: 05-05-2009, 11:16 PM
  5. How to query boolean values from table
    By kevdmiller in forum Queries
    Replies: 2
    Last Post: 11-30-2006, 07:41 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
  •  
Other Forums: Microsoft Office Forums