Thank you, I didn't expect your answer but it is relevent and I learned a bit
more about queries. However, closer to what I had in mind was, using your
example:
SELECT Field(1), Field(2), Field(5), Field(6) FROM tablename ORDER BY 4;
Field(n) , n= 1,2,3,..... represents the nth field as listed in the table
definition.
Not to my knowledge. The order of fields in a Query is in principle completely
independent of the order of fields in the table definition, and valid SQL
syntax (again, AFAIK) refers to them by name, and only by name.
The number syntax refers to the position of the field in the query's SELECT
clause (and can be useful, for instance, in a UNION query where you're
unioning tables with different fieldnames).
What are these tables??? Do you have a whole bunch of tables of the same
structure, the same kind of data, and just different fieldnames? Are they
native Access tables or linked from somewhere else?