Results 1 to 2 of 2

Thread: How do I make MSAccess97 add or subtract?

  1. #1

    Thread Starter
    Addicted Member Daniel_Christie's Avatar
    Join Date
    Jan 2000
    Location
    USA
    Posts
    245

    Post

    I am making a virtual check book. So when the user enters in a check amount, they have to click either "deposit" or "deduction". When deposit or deduction is pressed and the database is updated I need Access97 or VB to look at the new entry and the "deposit" or "deduction" and add/sudtract from the existing balance. How do I make MSAccess97 add or subtract an entire column of currency entries?

    Any help is greatly appreciated,
    Daniel Christie

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    Update MyTable set MyColumn = MyColumn - MyValue [Where condition = true]

Posting Permissions

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



Click Here to Expand Forum to Full Width