Public Sub ap_LinkTables(dbLocal, dynSharedTables, strDataMDB As String)
Dim tdfCurrent As TableDef
Dim flgAddTable As Boolean
Dim intTotalTbls As Integer
Dim intCurrTbl As Integer
On Error GoTo Err_LinkTables
'-- Get the total number of linked tables, then display the progress meter.
dynSharedTables.MoveLast
intTotalTbls = dynSharedTables.RecordCount
dynSharedTables.MoveFirst