Negative Values Using Access - ODBC Link

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • egrill
    New Member
    • Jul 2007
    • 16

    Negative Values Using Access - ODBC Link

    I am linking the tables in Access through my SQL server. It is accounting programming that uses status determine the type of document; 8 for sales order and 11 for credit orders. 11 are negative currency however, they are being puled as positives which throughs off the totals, etc.. Any one have a logic or way to make sure 11 status are credits.
  • NeoPa
    Recognized Expert Moderator MVP
    • Oct 2006
    • 32633

    #2
    You have (accidentally) posted this question in the Access Articles section. This is NOT an article.
    I'm moving this to the main Access questions forum.

    MODERATOR.

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32633

      #3
      Within Access you can say :
      Code:
      SalesVal: IIf([Status]=11,-[Sales],[Sales])

      Comment

      • egrill
        New Member
        • Jul 2007
        • 16

        #4
        Originally posted by NeoPa
        Within Access you can say :
        Code:
        SalesVal: IIf([Status]=11,-[Sales],[Sales])
        Thank you. It worked perfectly.

        Comment

        • NeoPa
          Recognized Expert Moderator MVP
          • Oct 2006
          • 32633

          #5
          No problem. Glad I was able to help :)

          Comment

          Working...