
how to programmatically create linked table w/o access
Hi Justin,
as far as I know you have to open Access. A form or module
linked to by the autoexec module can open your form or
module and then create the links.
Best is using the Docmd.TransferDatabase
Command.
Its syntax is:
DoCmd.TransferDatabase [Transfertype], Databaseformat,
DataBaseName[, Objekttype], Name in Source Database, Name
in destination database[, structureOnly][, password]
E.g.:
DoCmd.TransferDatabase acImport, "Microsoft
ACCESS", "c:\me.mdb", acTable, "Table1", "NewTab"
imports the Table "Table1" from "c:\me.mdb" into the
table "NewTab" in your database.
Hope that helps,
Christoph
Quote:
>-----Original Message-----
>How can I create a link to another database (DBF)
programmatically without
Quote:
>opening Access?
>Are there any VB, VBA or SQL solutions?
>Thanks,
> Justin
>.