Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Average 1

Status
Not open for further replies.

kastaman

IS-IT--Management
Sep 24, 2001
181
0
0
CA
I have a query where one of the columns calculates the % from 2 other columns.

My question is: what formula do I need to create that will show the average of the records that have been entered.

My second question is: How do I create the same info in a report.

Kastaman
 
Kastaman,
On your form in the page footer add a txtbox and make it =avg([your field])
do the same thing for the report.
Jim
 
Jpeneh10 - I'm not getting any results (?name). the field I want to calculate is a calculated field from 2 other fields. Does this make a difference?
 
Jpeneh10!!! That works! Thanks so much.
 
one more question, how can I show the averages by month, although they are inputted on a daily basis, I would like the form to show the monthly averages.

Kastaman
 
you might do that by adding Total (from the query menu) on your query.Then add the field [month] to the query. Finally, chose Group By for the the [month] field

Hope, this will help :)
 
new9,

I'll try it and let you know if I have any probs.

Merci!

Kastaman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top