Results 1 to 3 of 3
  1. #1
    Rzadziu is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2012
    Posts
    28

    Hide zero values

    Hello,



    I have a issue to hide 0 values in my query.

    Im using expression to conect two values Hard: [Val27] & "-" & [Val28]

    Sometimes i'm getting result 0-0 or 312-0

    It is possible to hide those zeros?? maybe by formating??

    BR Marcin

  2. #2
    lfpm062010 is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2013
    Location
    US
    Posts
    415
    Using IIF and check for 0. Like this

    IIF([Val27]=0,"", [Val27]) & "-" & IIF([Val28]=0, "", [Val28])

  3. #3
    Rzadziu is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Mar 2012
    Posts
    28
    Thanks for your help it work as i wish to have.

    BR Marcin

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

Similar Threads

  1. Hide used values in combo box
    By mrmims in forum Programming
    Replies: 1
    Last Post: 07-03-2013, 12:22 AM
  2. Hide Null Values in Report
    By rdr910 in forum Reports
    Replies: 10
    Last Post: 03-15-2012, 03:09 PM
  3. Replies: 6
    Last Post: 02-11-2012, 06:21 PM
  4. Hide Fields With Null Values
    By jay in forum Reports
    Replies: 6
    Last Post: 09-22-2011, 07:23 AM
  5. Replies: 2
    Last Post: 01-13-2010, 05:29 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