Results 1 to 2 of 2
  1. #1
    jo15765's Avatar
    jo15765 is offline Expert
    Windows XP Access 2000
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    672

    Set Query if - Show 0


    Is there a way to set-up a query to where if the result is going to be a negative number to show 0 instead?

  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,643
    I'd probably do it on a form or report, but

    IIf(YourCalculation < 0, 0, YourCalculation)
    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. Show a sum value in a query
    By marcvanderpeet12 in forum Queries
    Replies: 1
    Last Post: 06-12-2013, 03:36 AM
  2. Replies: 3
    Last Post: 03-07-2013, 10:44 AM
  3. Replies: 3
    Last Post: 01-15-2013, 01:58 PM
  4. Show only last record in query
    By robsworld78 in forum Queries
    Replies: 18
    Last Post: 09-02-2011, 08:36 PM
  5. Query, show top 10
    By lostinspace in forum Queries
    Replies: 4
    Last Post: 05-10-2010, 12:18 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