A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

query for a bank statement



 
 
Thread Tools Display Modes
  #1  
Old January 24th, 2006, 12:22 PM posted to microsoft.public.access.queries
external usenet poster
 
Posts: n/a
Default 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  
Old January 24th, 2006, 02:25 PM posted to microsoft.public.access.queries
external usenet poster
 
Posts: n/a
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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
Print 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


All times are GMT +1. The time now is 12:59 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.