Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    May 2003
    Location
    USA
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Positive to Negative and Vice Versa (2002/SP-2)

    I'm currently working on an insurance database where the payments entries are entered as a positive ($25.00) for payments and a negative (-$500.00) for money added to the claim. Is there a simple way I can convert the positives to negatives and negatives to positives? Possibly with a query?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Positive to Negative and Vice Versa (2002/SP-2)

    If you want ALL values in a field in a table to be converted to their opposite:
    - Create a query based on the table.
    - Add the field you want to change to the query design grid.
    - Select Query | Update Query.
    - In the Update To: line for the field, enter -[FieldName] where FieldName is the name of the field.
    - Select Query | Run or click the Run button (exclamation mark) on the toolbar.

  3. #3
    New Lounger
    Join Date
    May 2003
    Location
    USA
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Positive to Negative and Vice Versa (2002/SP-2)

    Well you know ... that was just too EASY to even consider. My brain tends to complicate the procedure! Thanks a bunch! <img src=/S/clapping.gif border=0 alt=clapping width=19 height=23>

Posting Permissions

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