How to sort by a calculated field in a query?

DeMarcus

Registered User.
Local time
Today, 01:13
Joined
Jul 14, 2006
Messages
37
I have a query that draws from two tables, and the field in question looks like this:

X: [TableData]![FieldA]*[TableNumbers]![A]+[TableData]![FieldB]*[TableNumbers]!


It all works fine and dandy, but once I set it to sort by this field and run the query, it gives me the parameter prompt, asking me to enter the Parameter Value of FieldA and then for FieldB.

Is there a work-around for this within the query?

The only other solution I have in mind is making another table from this query, and then creating another query just for sorting said table, but that seems inefficient at best.
 
agree with you, however if you adumping data to a control set that sort property where possible
 
You don't need to make another table, just base a second query on the first
 

Users who are viewing this thread

Back
Top Bottom