Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I get the server to run queries etc

Status
Not open for further replies.

blaine011

IS-IT--Management
Jul 4, 2003
95
CA
How do I get the server to run queries etc in an Access database, and then only return the data to the clients?
 
Blaine011

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.

John
 
by doing this, will it be a permanent sql query on the server that I can the integrate into forms, that other clients will be able to use?
 
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.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top