Ok now my report i want to sort my vendors by the average but not move my
average column to the far left of my Vendors name report table.
The average column SHOULD NOT BE IN the table. Period.
Storing derived data such as this in your table accomplishes
three things: it wastes disk space; it wastes time (almost
any calculation will be MUCH faster than a disk fetch); and
most importantly, it risks data corruption. If one of the
underlying fields is subsequently edited, you will have data
in your table WHICH IS WRONG, and no automatic way to detect
that fact.
Just redo the calculation whenever you need it, either as a
calculated field in a Query or just as you're now doing it -
in the control source of a Form or a Report textbox.
You can calculate the average in the Query by putting
Average: ([field1]+[field2]+[field3])/3
in a vacant Field cell, anywhere within the query. The order of fields
in a query has NOTHING to do with the order of textboxes on a report,
so it doesn't matter whether the average is the leftmost, rightmost,
or somewhere in the middle - simply calculate or retrieve the fields
using the Query (in any order you want), and display them on your
Report in textboxes (in any order or position that you want). You
should use this calculated field in the Report's Sorting and Grouping
dialog; it's not necessary to sort the Query.
John W. Vinson[MVP]