Hi Everyone,
Does anyone know how to automatically update linked tables from VB 6.0? I have manually used the linked table manager but would like to do it within an application.
Emery
Hello CClint,
My tables are already linked in Access and I use the object code for the ActiveX component rather than building it from scratch. For instance:
If (OldVar <> Environment) Then
If Not (Environment = "Search" Then
If Not (Environment = "SpecTbl" Then
StrSQL = "Q_Emed_Docs"
Else
StrSQL = "Q_Dept_lkup"
End If
FrmDocTbl.AdoDocTbl.RecordSource = StrSQL
FrmDocTbl.AdoDocTbl.Refresh
End If
End If
Knowing this, how can I update the linked tables in Access?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.