Re: Linking Access databases (Jet SQL)

From: Robert Emmons (remmons_at_aurigen.com)
Date: 03/04/05


Date: Fri, 04 Mar 2005 10:03:00 -0500

On Thu, 03 Mar 2005 10:21:44 +0000, Jeremy Collins
<jd.collins@ntlworld-not.com> wrote:
>In Access, it's possible to query data from a table in another
>Access file, using this syntax:
>
>SELECT * FROM tb_table IN 'c:\folder\db_file.mdb'
>
>Does anyone have an example of how to provide the password for
>the second database? In my ADO connection string I'd use
>'Jet OLDDB:DatabasePassword=XYZ', but I can't figure out how to
>do it with Jet SQL.

This may not be the approach you want, but you can create a link to
the external table in the database which contains the query (primary
database). Then you open the primary database with a System.mdb file
which allows access to both databases. The query can then access the
external database withou any additional password, etc.



Relevant Pages

  • Re: DBMS and lisp, etc.
    ... Naively implemented with SQL, again for 10 ... (1 query for the initial orders, 1 query for each order for its ... soon as you upgrade to the SQL database. ... (eq (order-customer orderA) ...
    (comp.lang.lisp)
  • Re: OT: SQL
    ... query processing. ... FROM Employees e, Employees m, Management mgt ... Manager and Employee Salaries. ... The scheme used does not model database files in general, ...
    (sci.logic)
  • Re: access 2003
    ... I removed the parameters from the form query source. ... boxes from the form header, events, code, etc and ran the form query source ... forms queries and the SQL because syntax of the SQL will change randomly. ... the Access 97 database, I wouldn't have thought any expressions would be ...
    (microsoft.public.access.conversion)
  • RE: Import external data - web query
    ... Your reply for my query is very extensive, this is for importing a file from ... The data source I want isn't listed in the Select Data Source dialog box. ... information used to connect to a database. ... Check your driver First, make sure you have the right ODBC driver (Open ...
    (microsoft.public.excel.misc)
  • Re: Database Results Wizard Error Message
    ... > I would any other access file with ASP pages. ... > SQL statement to query the file. ... >> database when you get this error. ...
    (microsoft.public.frontpage.client)