N
news.microsoft com
Hi!
I have some complex queries with a lot of UNION ALL statements and an ORDER
BY statement at the end. There is a limit of 49 UNION ALL statements in
Access, so I want to avoid the UNION ALL statement in the queries.
Union All appends resultsets in SQL.
Is it possible to append the result of the single queries to the Recordset,
sort the Recordset and display the result?
It's possible to append data to Recordsets that opens a table (.AddNew). But
I open a query and not a table. So the recordset is readonly.
Do you have any ideas?
I can read the query-results in an array. But than I have the problem to
sort a multidimension array.
Thank you for suggestions!
Have a nice day,
ralf
I have some complex queries with a lot of UNION ALL statements and an ORDER
BY statement at the end. There is a limit of 49 UNION ALL statements in
Access, so I want to avoid the UNION ALL statement in the queries.
Union All appends resultsets in SQL.
Is it possible to append the result of the single queries to the Recordset,
sort the Recordset and display the result?
It's possible to append data to Recordsets that opens a table (.AddNew). But
I open a query and not a table. So the recordset is readonly.
Do you have any ideas?
I can read the query-results in an array. But than I have the problem to
sort a multidimension array.
Thank you for suggestions!
Have a nice day,
ralf