Board index » delphi » access

access

Can I select data from two tables each in  seperate mdb ???

 

Re:access


Yes.
Look up JOIN in the online help. You will need one TDatabase for each
table, and an alias for each. It's called a heterogenous join.

Dan

On Wed, 05 Apr 2000 12:04:25 +0800, Anders LEE <and...@aelhk.com>
wrote:

Quote

>Can I select data from two tables each in  seperate mdb ???

--
Dan Brennand
CMDC systems, inc.
Configuration Management and Document Control: Consulting, Software,
and the only comprehesive textbook on this subject.
visit us at www.cmdcsystems.com
[Remove the SPAM from my e-mail address]

Re:access


In article <gpeleso7mi9pb0pp2vhf986hbsljmfe...@4ax.com>,
  Anders LEE <and...@aelhk.com> wrote:
Quote

> Can I select data from two tables each in  seperate mdb ???

> Yes, you link the tables of each databases in the database you are

using...

Sent via Deja.com http://www.deja.com/
Before you buy.

Re:access


Le mer, 05 avr 2000, Anders LEE a crit :
Quote
>Can I select data from two tables each in  seperate mdb ???

It's depend of your database
which database is it ?

Re:access


You have 2 options:

a. Let BDE do the join (slow)
b. Let MS Access do the join, eg:

select A.X, A.Y, B.Z
from A INNER JOIN "C:\Path\B.mdb".B ON A.X = B.X;

"Anders LEE" <and...@aelhk.com> schreef in bericht
news:gpeleso7mi9pb0pp2vhf986hbsljmfedjq@4ax.com...

Quote

> Can I select data from two tables each in  seperate mdb ???

Other Threads