Hello,
I use the next code to create the link table (Paradox) in MS Access database:
const
acLink = $00000002;
var
access: OLEVariant;
begin
access := CreateOleObject('Access.Application');
access.OpenCurrentDatabase('c:\smexport.mdb');
access.DoCmd.TransferDatabase(acLink, 'Paradox 5.x', 'c:\data', acTable,
'input.db', 'orders', False);
access := UnAssigned;
end
With best regards, Mike Shkolnik
EMail: [email protected]
http://www.scalabium.com
--- On Wed, 5/20/09, [email protected] <[email protected]> wrote:
> From: [email protected] <[email protected]>
> Subject: [delphi-en] Linking ACCESS Table
> To: [email protected]
> Date: Wednesday, May 20, 2009, 7:48 PM
> Would anyone happen to know how to
> create a linked table (simulate ACCESS Linked Table Manager)
> at run-time. Alternatively, is there a way to join tables
> from different databases in a single ADO query?
>