New Member - Calculating Fields Help

Jan 4, 2005

I am new to Access and have made a databse using Access 2000. This is used for a dart league.

In one of the Tables called Members each "record" is made up of the persons details
(Name,address, etc). Included in the Row record I have "fields" (columns) that keep track of
the points each person hits on a nightly basis. I also have a Total Field.

Exampleof fields)

ID#,First Name, Last Name, Address, Phone #, Week 1, week 2, week 3, Total

How do I get the Total Field in the record to add up the nightly points in Week 1 + Week 2 + Week 3.?

In Excel it would be a simple calculation (e.g =sum(a1+b1+c1) etc.

As I said I am new to this database and it is very frustrating at the moment. I have used the help function
but it mostly double dutch to me.

ANY HELP in plain english would be appreciated

View Replies


ADVERTISEMENT

How To Group Fields And Corresponding Fields, While Calculating Sums?

Aug 4, 2005

I have two tables - Hours and Employees. Employees table has these fields:
EmpID, and First, and Last name.
Hours table has these fields:
EmpID, Hours, Funding Source, Nature of Work, Pay Period

I need to produce a report or a query that will display these results:
A column with a list of all the employees and all the Nature of Work categories going across with the sum of hours for each Nature of Work. I'm attaching an Excel spreadsheet that shows kind of what I need. Also, these reports need to be produced for each Funding Source and
Pay Period, so something like [Enter Funding Source] and [Enter Pay Period]

My question is that I don't know how to make a report that will just list a column with all the names and count the sum of hours for each Nature of Work.

Hope this is not too confusing, and any help would be greatly appreciated. thank you!

View 8 Replies View Related

Need Help Calculating Using Fields In MainForm And Fields From Subform

Sep 25, 2006

Ohh Stress. Need Help....I have a mainform that contained two subforms in it. MainForm called "Employee", the two subform called "vac", and "Prevac". There is a field in my mainform called "Hours", that I'd like to use to Add with a field in Vac subform called "VacA" and a field in Prevac called "FHours". I'd like to display the total (sum of all three field on the same mainform. Is there anyone have any idea? Thanks in advance...

View 3 Replies View Related

Calculating Fields

Nov 10, 2005

i have two text boxes in a form:
1) Todays Hours
2) Total Hours

when i enter a number in text box todays hours i want the value in the text box total hours to increment by that amount. this operation will be done on a daly basis for a internet cafe where the user comes and i put in the hours. it seems simple but i really do not know. could someone help me please :confused:

View 1 Replies View Related

Calculating Across Fields

Dec 20, 2007

Hi,

I am creating a form which has many fields which should have values in them. I need to know how to total all the fields across each field.

I have managed to do this(almost!) by creating a text box, and "on lost focus", putting the VBA:

TextBox = [SumOfConnection Bonus] + [sumofspice bonus] + [sumofvolume bonus]

(When I get this working I'll make a field in the table so there is no need for the text-box.)

This is basically, three types of commision that I want to total at the end in a "total". The amounts of commision are obviously different for each record but when I click in the "TextBox" it totals the values for the record that box is in ONLY, and all records show the same value in this field. I will click in a different box, and it will change, but ALL of them will change. How do a make it so that all "TextBox" field will show their own value.


Thanks,

View 2 Replies View Related

Calculating Difference Between Two Fields?

Feb 22, 2007

I'm trying to create a database for a Cattery business.

One thing I'd like to include is a query that calculates how long a cat has been staying at the cattery and then calculating the amount owed by the owner.

I don't have a cost field in any of my tables, so I need to create this on every run of the query.

So for example

A Cat resides in the cattery from the 22nd of Feb to the 28th of Feb. So 6 days (not including the day the cat is brought into the cattery) at a cost of 4.95 a day equals 29.7

Heres what I have so far
http://www.tdh1987.co.uk/pics/query.JPG

Bear in mind I'm from the UK, so the date field is in a different format to yours.

Any help will be greatly appreciated.

View 3 Replies View Related

Calculating Bound Fields

Oct 3, 2006

I have a table for invoices that need to show Nett, VAT & Total. I have set up a form and have included a calculation on both VAT (Nett*17.5/100) and Total (Nett+VAT) which works well in the form. Because these calculations are in the ControlSource, I do not know how to have these fields bound to the original table.

Am I missing something really obvious???

View 1 Replies View Related

Calculating New Fields In Access Database

Nov 20, 2007

I am working on a system to store financial information. I will be extracting our accounts payable journal entries on a monthly basis into Excel. I want to import that data into an Access table. I have several calculations to perform to create new datafields that I need to store in my Access table. Is it possible to perform these calculations as I load the data? If so what the best method to do this? Here is an example. I will be downloading our monthly hardware depreciation and need to split it among departments based on % stored in another Access Table.

Thank you for any help you can provide me.

Teresa

View 1 Replies View Related

Calculating Total Costs From 2 Different Fields

Dec 21, 2005

I have a table with products and their costs per unit of measure.

some products are costed by weight and others by piece.

table looks something like this:

product
pcs
weight
unit of measure (EA or KGS)
cost

Query should look like this:

product
pcs
weight
Total Cost

Is it possible to write an expression that, depending on the unit of measure uses the pcs or weight field to calculate the total cost ??????

View 5 Replies View Related

Query Help, Calculating Multiple Fields.

Jul 30, 2007

I've imported an Excel file into a table and now I've created a Query from it.
I now need to Add Fields (names are not in the table) and calculate totals for these renamed fields some of the answers are going to be the result of two or three fields.
Any help would be greatly appreciated.
thanks

View 8 Replies View Related

Calculating Between Fields In A Table And The Sorting

Jan 27, 2008

Below is an example of my table "Pricedata" include 03 fields:

Stock Name ___Price________Status Date
A________________10________ __1/6/2008_
A________________11___________1/7/2008_
A________________12___________1/8/2008__
B________________22___________1/6/2008_
B________________25___________1/7/2008_
B________________29___________1/8/2008__
C________________2____________1/6/2008_
C________________2____________1/7/2008__
C________________3____________1/8/2008_
D________________56___________1/6/2008_
D________________45___________1/7/2008_
D________________27___________1/8/2008__

I want to create a query like this: can calcualte the price change and % price change in certain period, and then sort in % change.

This result should be like the table below:
StockName Change in three days % Change in 03 days
C 1 50%
B 7 31.8%
A 2 20%
D -29 -51.78%

Thanks all,

View 6 Replies View Related

Calculating Two Fields From A Form And A Subform

May 6, 2005

I have created a form with a subform and I want to subtract the total of the subform from the total of the form to get a balance; i.e. I have a total of expenses on the form and the subform is a record of payments against the expenses and I want to show a balance.

I have been all over this one and can not make the expression work. I have been working in Access for some time but this one has me stumped, I am probably over thinking it or just can't see the forest for the trees.

I have gone into the expression builder and created the formula but when I complete the process I get the #name? error statement in the field.

Can anyone help me with this problem? Thank you in advance. You can send responses to sharon.dunn@newmont.com.

View 2 Replies View Related

Of Saving Queries And Calculating Fields

Sep 6, 2005

Morning All,
Just wondering.

When a form needs a calculated field. Say something simple, like

TotalCost = Quan*Cost

Is it better to create a query?
Use a table and create the calculated field in the query builder?
Or use a table and create a new unbound field on the form with the formula in it?

I never really know which one to do.

Lately I’ve been using saved queries for almost everything and now I have several dozen in this data base and its only half way done. Soon I’ll have to create a data base just to keep track of the queries in this one.

View 7 Replies View Related

Expressions For Calculating Text Fields

May 27, 2014

I am trying to create an expression that determined by text fields. The field is a PASS for FAIL field. The result needs to =PASS if 70% of the total column is PASS.Can this even be done using an expression?

View 4 Replies View Related

Forms :: Calculating Fields And Auto Update

Jun 15, 2013

In this table I have two fields Seats Available and Seats Remaining

When I register a student to a Course in the Courses table I would like the corresponding Seats Remaining field for that course to decrease automatically.

I can, of course, run a report or a query to see how many are enrolled in the course and then manually update the Seats Remaining field (which is what I currently do), but I would like this process to be automated each time I register a new student.

View 4 Replies View Related

Queries :: Calculating With Null Fields In A Query

Oct 2, 2014

My training database requires me to identify each training record in the tblEmpTrainHist table as either "Compliant" or "Delinquent". I thought a simple calculation in my query:

RecordStatus: IIF([DateReceived]<=[DateDue],"Compliant","Delinquent")

would do the trick. However, I did not consider the records where the employee has not yet completed the training and the field [DateReceived] is Null. There are two considerations: those employees who have no [DateReceived], but have not yet reached the DateDue (Compliant); and those employees who have exceeded the DateDue (Delinquent).

View 5 Replies View Related

Calculating Elapsed Time In The Table Fields

Jul 8, 2015

I have been trying for about 8 hours to calculate elapsed time between two fields into a third field in Access 2007. Unfortunately, the expression

IIf(IsNull)([Final Suspense]),DateDiff("d",[Routing Status Date],Date()),DateDiff("d",[Routing Status Date],[Final Suspense]))

is not working. Image enclosed....

View 6 Replies View Related

Calculating Number Of Work Dates From 2 Date Fields

May 29, 2005

In my Query I have a Date Received field and a Date Approved field.

I would like to calculate the number of work days, which excludes weekends, between Date Received and Data Approved fields.

It would be more desirable to calculate the number of work days, excluding weekends and governmnet obsereved holidays.. but I don't know if that can be done... If not I can stick with the number of work days excluding weekends.

How would I go about doing this? I would need to add a new column to my query?

What would I put for the field and criteria? What kind of expression do I use?


Any help will be appreciated, thanks

View 14 Replies View Related

Queries :: Calculating Rates Based On Two Fields - Type Conversion Failure

Apr 24, 2013

I have created a make table query and using expressions for two of the fields. I have set the field properties (format) to "Percent". The expressions are calculating rates based on two other fields. The expressions are currently as such:

PTD_CM_PGM_RATE: IIf((IsError([PTD_CM_REPT_PGM]/[PTD_CM_REPT_ER])),"0%",[PTD_CM_REPT_PGM]/[PTD_CM_REPT_ER])

I'm using the IIF function to avoid potential errors should one or both of the values ("PTD_CM_REPT_PGM" or "PTD_CM_REPT_ER") be zero.

However, when running the query, I am getting the "...type conversion failure is caused when the data in one or more fields doesn't match...." error.

View 1 Replies View Related

Help Needed By A New Member

Sep 30, 2005

Lets start by saying I am not a programmer but by modifying examples found in books I have over the past few years built an order processing data base for our business. An expert would think what a mess but it works for ME. The problem being I would like my staff to be able to use it.There is one problem which I can get around but they would not be able to.
The database has two tables (well more than that but its two I am talking about here) One which holds details of 3000 + Roads. The other has House or Firms names and directions. On the order form I have two Combo boxes one to enter the Location (House Name) another for the Road Name. When you enter a House name the Not In List event looks to see if we have delivered to
that location before, if so displays the full address. name,number,road,town in the combo box fed from a query which uses an EXPr to re join the data fields to display as one. If the location has not been used before a yes/no box comes up. If yes a new form opens to enter the details and choose the road/town from the road list.Then you are returned to the order form.
The problem is let say you start to enter "Orchard Cottage" up comes Orchard Cottage,London Rd,Larkfield. Want you want to enter is another Orchard Cottage in say Ditton.
Because you already have one in the list the combo box will not ask if you want to enter a new one. I can get around it by putting an extra letter in the name, then once the order had been finished go to the location table and take the letter out. No good for the Staff as you can see. Shame the rest works fine.
Anyone have an answer ?

Kevin.

View 3 Replies View Related

Find A New Member

May 6, 2006

I have several queries to find expired members, current members etc, however I can't get new members this year. Iv'e tried the unmatched query wizard using these two queries, also several other queries and tables but I either end up with all records or none. I'm going round in circles. I don't want a parameter query to ask the date, just some code to get the new records for this year and when the query is run next year it will show the new records for that year etc. Any help would be appreciated. My year date starts August 1st and ends following July 31st.

View 3 Replies View Related

Member Database Problem..

Aug 8, 2007

ok
here it is
i have a database for members.
i have a table with the general info for the members like name, date of birth, that kind of stuff.
i want to know how i can make sure that there are no duplicate members.
when in the form.. how can i validate that the member isn't already there?

the problem is i can't validate the name for duplicates because there isn't only one John in the world. or the name might match all together but the birthdate isn't the same.. things like that
i'm sure this is a very common problem so there might be an established solution
i made a search for duplicate reord. but not sure what to do with it

i was thinking of creating a special value using firstname-lastname-birthdate so they'd be unique... but even after doing that. how can i make sure the record isn't added to the table until it is validated?
hope i was clear with my question.. thanks for the help

View 3 Replies View Related

Club Member Database

Jul 11, 2007

Hi
I am a member of a local tennis club and they have asked me to help them to build a database that will cover membership details and annual fees. Does anybody have a template that would be useful to get me started with this? Obviosly, it could be for any type of club.
Regards
Noel

View 1 Replies View Related

Tables :: Calculated Fields As Data Type In Tables - Calculating Total?

Apr 23, 2013

I am using calculated field as a data type in access 2010.

They are working fine.

However, I added a new field and now the final calc won't work.

I have Subtotal adding loads of fields together. Works fine.

Then I have a VATunit field which is a double integer, so enter 20 and my next field is VATTotal calculates the SubTotal + the VATunit by doing (Subtotal/100)*VATunit. This calculation is fine and gives me the correct amount.

The next field is a Total field. Which adds Subtotal and the VATTotal together. Howver, the Total is the same as Subtotal. It is not adding the VATTotal to it?

View 2 Replies View Related

Create Random Member ID Field?

Nov 3, 2004

I have a database that I took over for a small group (it has about 400 records), and they want to add a field for "Member ID", to use for member badges and whatnot.
A friend tried to help me by suggesting the "Change the starting value of an incrementing AutoNumber field" from the Access Help File, but I don't necessarily want incremental numbers, I just want a string of perhaps 8 numbers in no particular order, and obviously, unique to each record. I also don't understand how I can get that to work in pre-existing records...

So, what I'm wanting, in a snapshot, is:
83928475 John Smith 123 Any St
93827221 Mary Jones 678 Market St
19182734 Elvis Presley Graceland
etc...

I was thinking that perhaps a formula could be created in a query? Heck I don't know!
I only know enough about Access to be dangerous, so I appreciate anyone's help!

THANKS!
Matt

View 4 Replies View Related

Form To Automatically Display Member No

Jan 14, 2008

I need to create a form in Access which allows member registration, once the member has entered all their details and clicks on the enter button a pop screen/form of some sort should display their member no. this member number would be the next one down in the list, and should be a 16 digit number.. and it always has to start with the numbers 5555 1946 (the remaining 8 digits must be generated by access in sequence each time a member joins.)

How do i do this?

thanks in advance.

View 13 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved