You can only do that if the database connects through to a remote client/server database such as SQL Server, Oracle, MySQL or DB2. Access itself is a file based database and all code and SQL is executed on the system running the database.
To have Access execute a query on a remote client/server DBMS, create your query, then go to Query menu -> SQL Specific -> Pass Through.
You then have to type the SQL code in there as Access will just pass it to the server and return its results. Access will also be unable to syntax check it.
You can save the pass through query in Access which can be integrated into forms/reports etc if you wish, but it will not be saved as a view in the server, so you will need the access DB that you saved it to for other clients to use.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.