473,322 Members | 1,314 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,322 software developers and data experts.

Unique total for each row

Hi

Apologies if this is not in the right area but first time for posting
here.

I know how to add up amounts on a form to create a total for a line
but the database i am working on needs the total to be unique for each
row i put amounts in. What is happening is that when i put in amounts
in row 2 then it adds that along with row 1...etc etc.

On the form i put in the unbound box (called Total) the following
code...

=Sum([example1]+[example2]-[example3]) This, as stated above will
give a total amount. Example is not the name of the fields but only
used to show the format of the code i have used.

Could one of you Access gurus take the above and show me the correct
format so each row keeps its own totals; hopefully using the same
unbound box for Total on the form....unless what i require as to be
done using a query of Crosstab.

Queries are not a problem for me if they have to be used but i have
never used CrossTabs yet so please give me clear instructions if that
is the only/best route to take....or give me the form version to get
going and another method so i have something to look forward to if its
a better route to take.

Your help is appreciated.

Thankyou.

Tony

Feb 28 '08 #1
2 1658
Hello Allen

Thanks for the help.

My database uses two tables, the main uses a list of staff where the
staff number is unique and that is linked to staff number in the
subform where it can be repeated...hence why staff are repeated when
more than 1 claim is put in. Even though i have learnt more about
Access over the year there are just little bits where a good example
can work wonders....or help where other are willing to help others,
like here.

I would like to know more about CrossTabs and i'm sure that will come
about eventually. Do you know of any site where you can use examples
so you can work on particular areas of Access, CrossTabs in this case?
Once again, thank you.
Feb 29 '08 #2
<to***********@gmail.comwrote in message
news:b8**********************************@u72g2000 hsf.googlegroups.com...
>
I would like to know more about CrossTabs and i'm sure that will come
about eventually. Do you know of any site where you can use examples
so you can work on particular areas of Access, CrossTabs in this case?
Here's a starting point:
Crosstab query techniques
at:
http://allenbrowne.com/ser-67.html

You can create the example query using the Northwind sample database that
installs with Access.

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

Feb 29 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: August1 | last post by:
A handful of articles have been posted requesting information on how to use these functions in addition to the time() function as the seed to generate unique groups (sets) of numbers - each group...
3
by: Alex | last post by:
Acc 97 Hi, I am in need of some help here.... I have a query which is based upon time, where i need to plot the hours a job has been working.. therefore, oN & off in a union query. ...
1
by: Lumpierbritches | last post by:
I have an application that will have a Male and Female, the Date of Birth and finally a total number of animals. I would like to create a unique ID for each of the animals using this last number;...
2
by: SJM | last post by:
I have a report that displays records of real estate properties. It is possible for each property to appear a number of times for various reasons. Each record however is unique. What I would like...
1
by: tHeRoBeRtMiTcHeLL | last post by:
Below is an earlier post to an Excel Group.. ....but I thought that there might be a way to do this in Access by importing data and then creating append and/or update query. I would most certainly...
4
by: Saso Zagoranski | last post by:
Hi, I'm making a simple application which will store different items (in a SQL server 2000 - MSDE database). Each item has a unique ID in this form: / / / an example: AZ12345/1234/1/A
5
by: EP | last post by:
This inquiry may either turn out to be about the suitability of the SHA-1 (160 bit digest) for file identification, the sha function in Python ... or about some error in my script. Any insight...
9
by: Robert Mago | last post by:
Is there a way to create a 10 characthers or less, alph-numeric string which is unique. I can't use the guid since its longer then 10 characthers. Also i cannot use a random number, since being...
2
by: srusskinyon | last post by:
I need some help getting unique records from our database! I work for a small non-profit homeless shelter. We keep track of guest information as well as what services we have offered for...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.