Results 1 to 4 of 4
  1. #1
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496

    Combo box to show all results if null

    I've tried nz() function to get it to show all results and for whatever reason it shows none so I am not sure what to use...



    Click image for larger version. 

Name:	Capture.PNG 
Views:	5 
Size:	13.8 KB 
ID:	17480

    I've tried nz(forms!frmswitchstaff!cmbyearselect,is null or [AreaYearID]) but I get a blank

    I have a me.cmbAreaSelect.requery on the cmbyearselect after update event so that if you select, or hopefully if it works, clear the year it requeries the combo box

  2. #2
    pbaldy's Avatar
    pbaldy is online now 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
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by pbaldy View Post
    Click image for larger version. 

Name:	bugs_kissing_elmer_fudd.jpg 
Views:	5 
Size:	21.1 KB 
ID:	17481

    thankyou

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

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

Similar Threads

  1. Include Results with Null or Zero
    By emarkman10 in forum Queries
    Replies: 2
    Last Post: 08-07-2012, 06:14 AM
  2. Replies: 6
    Last Post: 05-14-2012, 07:24 AM
  3. Null Value prevents showing any results
    By nick.h in forum Queries
    Replies: 10
    Last Post: 12-19-2011, 07:23 AM
  4. Do not show null records
    By brobb56 in forum Forms
    Replies: 1
    Last Post: 09-23-2011, 02:29 PM
  5. Replies: 1
    Last Post: 07-30-2011, 03:21 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