Results 1 to 4 of 4
  1. #1
    Spur52 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Nov 2014
    Posts
    2

    Black, White or White, Black

    I have a database of birds. One of the fields is a text field called "Colors". I have a query for that field asking for the colors of the bird I am trying to identify. For example the colors in that field might be "black, white". If, in the query I ask for colors "white, black" it returns with no finds because the entered colors were "black, white". I am trying to do 2 things - fix the field so it doesn't matter if I enter "white, black" or "black, white" and returns forms that ONLY contain "black, white". Is this possible??



    Spur52

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    I have to say No, at least not without using VBA. You must standardize the data.

    Multiple data in one field is poor design.
    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.

  3. #3
    tanyalee123 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Oct 2013
    Posts
    51
    If I were you, I would do a search and replace in order to make the data consistent. This will only save you trouble in the future. Then I would create a dropdown of color choices and thus avoiding users entering the data inconsistently in the future. You have to remember that this inconsistent data could haunt you every time you try to create a query, report, search, etc.

  4. #4
    Spur52 is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Nov 2014
    Posts
    2
    Through the years I have tried a few databases. But none did everything I wanted done. Handling pictures was a problem but with Access I thought I finally had my dream come true and I was up and running until I tried doing an easy query. Oh well, my search continues.

    Thanks for the input

    Spur52

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

Similar Threads

  1. Black list for a subform!
    By haditirip in forum Forms
    Replies: 4
    Last Post: 10-15-2013, 10:50 AM
  2. Replies: 5
    Last Post: 07-10-2013, 11:39 AM
  3. Replies: 1
    Last Post: 03-29-2012, 12:20 AM
  4. Report printing black boxes
    By stephenaa5 in forum Reports
    Replies: 1
    Last Post: 05-11-2011, 04:53 PM
  5. Replies: 1
    Last Post: 07-30-2009, 12:54 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