Access Automatically Moving Criteria Columns to End of Query (DesignView)

M

Mike

I have a query being run where the position of the criteria (in Design
View) is important to pull the data correctly. However, I have to
move this column to the correct position each time I run the query, as
Access automatically moves not shown columns to the end of the query
in design view. Is there a way to stop Access from automatically
reordering the columns? Thanks.
 
K

KARL DEWEY

Why does it matter where the not shown columns are?
If you are using it for sorting then just create aliases for all your sort
columns and make them not shown.
 
J

John Spencer

The position of criteria in QUERY design view will not change what data is
displayed.

However, if you are attempting to SORT by those columns (that is not criteria)
then you need to add the Additional columns you are sorting by again and make
the second instance NOT shown. Then put all the sorting columns in the
desired order.

John Spencer
Access MVP 2002-2005, 2007-2009
The Hilltop Institute
University of Maryland Baltimore County
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top