I have created a named index which has multiple columns in said index.
I am trying via SQL to specify that index name as the ORDER BY object in a SQL statement. Access 2007 does not like such. This is a query against a FE temp table, so no other DB's involved than Access 2007.
Is there any syntax by which I can sort based on that index by referring to the index name and not have to specify the same column structure in the ORDER BY clause that is already defined in the index? After all, what would the point be to name indexes if you can not specify them by the same name?!
Paradox for Windows / Object PAL had such support... I could switch indexes to a known name index, and what ever the index had defined, the table would end up sorted thusly.
In this case I happen to be updating on-the-fly the SQL statement in a Form based on a Query to change the record display sort order. It works perfectly for sorting by single columns... but now I need to update the ORDER BY setting it to multiple columns, so looking for a way to ORDER BY indexname and what ever the index has defined will be the sort.
Suggestions of how to accomplish such? TIA!
P.S. Access 2007 is the version.
I am trying via SQL to specify that index name as the ORDER BY object in a SQL statement. Access 2007 does not like such. This is a query against a FE temp table, so no other DB's involved than Access 2007.
Is there any syntax by which I can sort based on that index by referring to the index name and not have to specify the same column structure in the ORDER BY clause that is already defined in the index? After all, what would the point be to name indexes if you can not specify them by the same name?!
Paradox for Windows / Object PAL had such support... I could switch indexes to a known name index, and what ever the index had defined, the table would end up sorted thusly.
In this case I happen to be updating on-the-fly the SQL statement in a Form based on a Query to change the record display sort order. It works perfectly for sorting by single columns... but now I need to update the ORDER BY setting it to multiple columns, so looking for a way to ORDER BY indexname and what ever the index has defined will be the sort.
Suggestions of how to accomplish such? TIA!
P.S. Access 2007 is the version.