Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2009
    Posts
    5

    Unanswered: Using NZ function with a checkbox

    How can I use NZ with a checkbox where I am doing a query by form? I have my checkbox set to triple state, but I do not know how to have it return all values if is greyed...

    Is there anyway of setting this in the Nz function so that it will be true, false or could be either?

    I have attached a print screen of my query and my form the

    nz([Forms]![Form1]![Check3],"*")

    returns an error too complex to evaluate

    Thanks so much!
    Attached Files Attached Files

  2. #2
    Join Date
    Nov 2007
    Location
    Adelaide, South Australia
    Posts
    4,049
    Tried

    Like nz([Forms]![Form1]![Check3],"*")

    ?
    Owner and Manager of
    CypherBYTE, Microsoft Access Development Specialists.
    Microsoft Access MCP.
    And all around nice guy!


    "Heck it's something understood by accountants ... so it can't be 'that' difficult..." -- Healdem
    "...teach a man to code and he'll be frustrated for life! " -- georgev

  3. #3
    Join Date
    Jun 2009
    Posts
    5
    That will only return the no value(2 out of 3 times), the greyed state returns no data

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •