473,387 Members | 1,597 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Calculation in an Access Report

14
Hi,

I am creating a report for different accounts. I have a starting balance, and transactions. Everything is working great, however I am not able to create another column that can have the transaction column + the starting balance. I want a continuous balance down the one side of the report. I can get the transaction to total by creating a "running sum" column, but is there a way to create another column that uses that information in a calculation? Someone had suggested that I use the DSUM function, however it never seems to work right for me.

I would apprieciate any suggestions.

Thanks a lot
Feb 16 '07 #1
4 1771
nico5038
3,080 Expert 2GB
I would place the TransactionAmount field twice. The second one (TransactionAmount2) gets the visible = No property to hide it and set the RunningSum property to OverGroup.
Now add a new field with:
=TransactionAmount2+Dlookup("StartingBalance","you r balance table","accountID=" & [accountID])

The other option would be to create a new transaction for the BalanceAmount unsing a UNION query and force that to be the first to be displayed, eg with a 0 as transaction sequencenumber.

Getting the idea ?

Nic;o)
Feb 16 '07 #2
Jx4
14
Thanks a lot for your help. I'm going to try it tomorrow and see how it goes. What you are saying makes a lot of sense. Thanks again for your help.


I would place the TransactionAmount field twice. The second one (TransactionAmount2) gets the visible = No property to hide it and set the RunningSum property to OverGroup.
Now add a new field with:
=TransactionAmount2+Dlookup("StartingBalance","you r balance table","accountID=" & [accountID])

The other option would be to create a new transaction for the BalanceAmount unsing a UNION query and force that to be the first to be displayed, eg with a 0 as transaction sequencenumber.

Getting the idea ?

Nic;o)
Feb 17 '07 #3
nico5038
3,080 Expert 2GB
Keep me posted when you run in trouble :-)

Nic;o)
Feb 17 '07 #4
Jx4
14
Thanks for all your help, I figured it out! Yeah! Thanks again!
Feb 21 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

15
by: Pres | last post by:
I am not an experienced programmer. I do have a question regarding workday calculations. I have 3 fields. CURDATE, NUMDAYS, CALCDATE After entering the first two fields, normally the current...
2
by: Del | last post by:
Thanks in advance for any help. I have a database that was created in Access 2000. Several users have been upgraded to Access 2003. Since upgrading to 2003 we have noticed that some of the...
5
by: Greg Teets | last post by:
I am running an Access report from VB via ADO. The report has a field that shows the date it was run. How can I return the data from this field to VB or have Access post it to a table when the...
6
by: jimfortune | last post by:
In: http://groups.google.com/group/comp.databases.ms-access/msg/60d7faa790c65db1 james.ea...@gmail.com said: :Ok, I've answered the first half of my own question. From a MSDN :article, I...
1
by: jlf | last post by:
Need serious help with a calculation. The fields are based on a query that has linked many different tables. The calculation I currently have is: =sum()/((+)*(Piecesnum])) It is giving a...
4
by: vg-mail | last post by:
Hello all, I have identical design for form and report but I am getting calculation error on form and everything is OK on report. The form and report are build up on SQL statement. The...
5
by: JRNewKid | last post by:
I have an Access report and in the body of the report there is a calculation: =DateDiff("n",,)/60 This is in a field called dlyElapsedTime. at the end of the report I want to have a total of...
1
by: KMEscherich | last post by:
Using Access 97 Question about Report calculations Hi there, I am developing a report and am stumpped as to why it is that I can't seem to get the correct answer that I am looking for. This is...
1
by: JCMcAbee | last post by:
Hello. Access 2003. I hope this makes sense. I request assistance with the following calculation problem: In a grouped(?) footer of the report I have the following calculations in text boxes,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.