If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
query for a bank statement
I have a table which shows activity on a bank accouint for a certain
period. There is a field "amount" where withdrawals are shown as negative and money credited are positive. I need to present it as a bank statement adding a field with the balance after each transaction. I am trying to figure out a query which would add a new field where the balance afrew which transaction is shown, i.e. the value of "amount" from the current line plus the value of the balance from the previous line. Will someone provide a hint? |
#2
|
|||
|
|||
query for a bank statement
Could you do this as a report?
On a report, you could add the Amount field twice. In the 2nd copy, set the Running Sum property to: Over Group It will sum all the withdrawals and credits, and act as a balance. -- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "aa" wrote in message ... I have a table which shows activity on a bank accouint for a certain period. There is a field "amount" where withdrawals are shown as negative and money credited are positive. I need to present it as a bank statement adding a field with the balance after each transaction. I am trying to figure out a query which would add a new field where the balance afrew which transaction is shown, i.e. the value of "amount" from the current line plus the value of the balance from the previous line. Will someone provide a hint? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Nested in-line Query | laura | Running & Setting Up Queries | 0 | February 11th, 2005 12:17 AM |
Moving from xBase/Clipper | [email protected] | New Users | 1 | February 3rd, 2005 07:25 PM |
Executing 'Transform' SQL in VBA | Leo | General Discussion | 20 | October 28th, 2004 10:42 AM |
Taher | Setting Up & Running Reports | 1 | August 31st, 2004 09:07 PM | |
Access 2000 query SQL statement into VBA code | Clint | Running & Setting Up Queries | 1 | June 10th, 2004 01:33 PM |