Bryan said:
Clif-
Thank you, I will do that from now on.
Would I accomplish what you said in the report designer or in the
table
design?
From the query designer:
[quote from previous thread]
That is the entire query, in SQL view. Create a new query without
selecting
any table; select View... SQL; and edit this in, using your own field
and
table names.
--
John W. Vinson [MVP]
[/quote]
I thought perhaps there was a way to edit the "Totals" function that I
selected in the report design to accomplish the weighted avearge?
Not that I know of (but I'm fairly new at this stuff myself.)
After you create the new query in SQL View per John's directions (your
linked table will be the FROM TableName) you can switch to Design view
and add any other fields (columns) you need from your linked table. The
calculated field "Weighted Average" will give you an example of how to
create a calculated field -- you can include other calculated fields as
needed.
After your query definition results in the information you need, then
you build your report off of the query, not the table.
In general, define calculated fields in queries, not forms or reports,
because you can define the calculation ONE time and use the calculated
result in other queries, forms or reports as though you were getting the
value from a table. That way there is less opportunity for gremlins to
change the formula between different places where you used it..
Also, report sorting and grouping "ignores" any sorting done by the
source query, so there is no need to sort a query that is feeding a
report.
For this project, I have an external link with a .dbf so I am only
using
access to query and report on the single .dbf file.
Access is quite good at that! (And, provides a lot of powerful tools to
do it with.)
Thanks for the help, sorry about how naive I am about this!
Bryan
Nothing to be sorry about -- we all started somewhere! (And learn from
each other as we go along, as well.)
I seem to recall that you mentioned being new to Access -- here are some
links to excellent introductory materials:
(Thanks to John W. Vinson [MVP] for this info
"Access has a steeper learning curve than (say) Word or Excel; not
least, in order to make productive use of the program you have to
understand the theoretical basis of database design - a concept called
'Normalization'. It is very logical and not at all difficult once you
get the concepts down."
Here are some tutorials and other resources that you should find
helpful:
A free tutorial written by Crystal (MS Access VP):
http://www.accessmvp.com/Strive4Peace/Index.htm
also at
http://allenbrowne.com/casu-22.html
MVP Allen Browne's tutorials:
http://allenbrowne.com/links.html#Tutorials
Here's a primer with 23 well defined, well written, clearly named
chapters:
http://www.functionx.com/vbaccess/index.htm
The Access Web resources page:
http://www.mvps.org/access/resources/index.html
Jeff Conrad's resources page:
http://www.accessmvp.com/JConrad/accessjunkie/resources.html
Good Luck!