Results 1 to 3 of 3
  1. #1
    vincentsp is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2015
    Posts
    29

    Return records with empty combobox value

    Hi all,



    In my table I have a total of 6 fields, 2 of the 6 fields get there value using a combobox based on another table.
    In total some records have a values in both the comboxes other records in just one.

    In my query I would like to ad extra fields from the tables which the comboboxes are based on.

    The problem I have is that once I ad the fields in my query it only shows me the records where both of the comboboxes have a value.
    Is there a way to show all the records including the records where only 1 of the 2 comboboxes has a value.

    I hope this makes sence, if not I'm happy to post an example database.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    In my table I have a total of 6 fields, 2 of the 6 fields get there value using a combobox based on another table.
    This tells me that you have lookup fields in the table. This is considered to be "bad" (as in "Evil"). See http://access.mvps.org/access/lookupfields.htm
    (also see: http://access.mvps.org/access/tencommandments.htm)

    I never use lookup fields in tables.

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

Similar Threads

  1. Replies: 9
    Last Post: 08-19-2014, 12:41 PM
  2. Replies: 7
    Last Post: 11-08-2013, 03:34 AM
  3. Replies: 1
    Last Post: 12-09-2012, 07:11 AM
  4. Replies: 4
    Last Post: 07-28-2011, 06:57 AM
  5. Return all fields even if lookup is empty
    By skarden in forum Access
    Replies: 2
    Last Post: 05-11-2011, 10:44 AM

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