Greetings Access gurus.
I have clients with Access databases in the field that I need to update
-- new tables, new indices, new queries, the works. Since these clients
may have only the Access runtime, automation isn't an option for me; I
need to rely on DDL (through Oledb at the moment but if necessary I
could use something else). My DDL works fine with the exception of
views (queries) that have union clauses. Any DDL of the form
CREATE VIEW ... SELECT ... UNION SELECT ...
produces a "union operation is not supported in subqueries" error. The
queries themselves are valid; I can create them in the query designer,
or programmaticall y in an Access module, and they save and run just
fine. It's only DDL that's giving me the problem.
Any suggestions or workarounds?
Regards,
Aaron
I have clients with Access databases in the field that I need to update
-- new tables, new indices, new queries, the works. Since these clients
may have only the Access runtime, automation isn't an option for me; I
need to rely on DDL (through Oledb at the moment but if necessary I
could use something else). My DDL works fine with the exception of
views (queries) that have union clauses. Any DDL of the form
CREATE VIEW ... SELECT ... UNION SELECT ...
produces a "union operation is not supported in subqueries" error. The
queries themselves are valid; I can create them in the query designer,
or programmaticall y in an Access module, and they save and run just
fine. It's only DDL that's giving me the problem.
Any suggestions or workarounds?
Regards,
Aaron
Comment