Results 1 to 2 of 2
  1. #1
    rubberducky is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2014
    Posts
    1

    Comparing positive to negative values.


    I'm doing a bank-rec database, so on the one hand I'm comparing positive debits, to negative credits. How do I query to get, say, "Bank1 -$1000, Bank2 $1000"

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    you can use the absolute value function to turn a negative value into a positive

    so let's say your two fields (in your query) are bank1 and bank2

    you can have a third value that's

    bank1conv: abs(bank1)

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

Similar Threads

  1. Replies: 2
    Last Post: 06-05-2013, 09:37 AM
  2. Positive to Negative
    By greek-autumn in forum Queries
    Replies: 3
    Last Post: 03-24-2013, 05:20 PM
  3. Replies: 7
    Last Post: 09-16-2011, 01:39 PM
  4. Replies: 2
    Last Post: 01-13-2010, 05:29 AM
  5. Convert Negative Values to Positive
    By creativefusion in forum Queries
    Replies: 1
    Last Post: 10-21-2009, 02:47 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