Results 1 to 3 of 3
  1. #1
    eduardo10 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    2

    Using calculated value from previous register

    Hi, how do I this simple thing in Excel, in Access
    bal1 is like: bal0+deposit-check
    bal0 use the previous bal1 amount as you see,
    the easier thing in excel, but how do I do this in Access?


    thanks!
    Sample attached

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    the cell-to-cell method of excel - and calculation changes that auto cascade thru the document are not directly able to be replicated by Access (or any database) because they are different animals.

    One can definitely do some work to approach a near replication of your sample with a form/table and design work. Running sums is implemented different, and recalc of a changed value must be trigger by a stand alone query that resets values in the table.

    So while this really doesn't explain how to do it for you, as it is involved. I just wanted to drop you a line since you self describe you as a novice - that indeed this is one aspect that is easy in excel but not in a database. So don't get overly frustrated on this.

    If you are really intent on implementing this be sure to have an Access textbook from Amazon or a big bookstore - and you will want to explore vba code triggered in AfterUpdate events, calculated values in queries, and Update queries - as these will be key aspects of your designs.

    Sorry not to be more helpful.

  3. #3
    eduardo10 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Posts
    2

    calculated fieds and other registers in the same table

    Sorry for the late, hard working…
    As you pointed they´re completely different, my example is exactly like this showing something quite easy to do with a spreadsheet
    and the difference with a db.
    Currently addressed with the table-form-code approach, thanks
    Where only the data is stored and calculated fields are recalculated on the fly,
    As data may change.
    So want to share it and listen if other options are better, about working with calculated fieds and other registers in the same table.

    Thanks again, and let´s see...

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

Similar Threads

  1. Replies: 2
    Last Post: 02-12-2011, 12:46 AM
  2. Duplicate Register
    By maluna in forum Access
    Replies: 1
    Last Post: 09-28-2010, 12:45 AM
  3. Attendency register in a database
    By pp100 in forum Access
    Replies: 2
    Last Post: 08-31-2010, 06:51 AM
  4. Login form register
    By isnpms in forum Security
    Replies: 1
    Last Post: 08-01-2010, 10:30 PM
  5. Previous value
    By yegnal in forum Forms
    Replies: 0
    Last Post: 07-22-2007, 07:51 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