The query is a DDL query and cannot be used as a row source. (Error 3324)

Applies to: Access 2013 | Access 2016

You tried to run an action query or data-definition query without using the Execute method.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.