Public Sub RelinkAccessDbTables (
dbs As DAO.Database,
DB_ID As Long,
DB_Password As String,
DB_FilePath As String ,
Optional AddLocalTablePrefix As Boolean = False ,
Optional SelectiveLinkSql As String = ""
)
Relink tables for the specified linker database
The description of the database to be linked
The database containing the table linker tables (usually the current database)
The database ID in the linker table
The file path of the database to be linked
Add the prefix for 'local fallback' mode tables
A WHERE statement to restrict the tables being linked
xf.Linker.RelinkAccessDbTables DB_Description, dbs, DB_ID, DB_Password, DB_FilePath
xf.Linker.RelinkAccessDbTables DB_Description, dbs, DB_ID, DB_Password, DB_FilePath, AddLocalTablePrefix, SelectiveLinkSql