I have tables from MySQL linked in my front end. Before all the tables was linked by ODBC and now I am refreshing the link because I don't want to create the ODBC on every machine client, but now every time I run the application I call the string for MySQL connection and relink but it started grow my mdb file. Is there anything I can do about ? the code im using is: Dim tdf As DAO.TableDef
Dim tblname As String
For Each tdf In CurrentDb.TableDefs
If Len(tdf.Connect) > 0 Then
tblname = tdf.NAME
DoCmd.Echo True, "Relinking Table " & tblname
tdf.Connect = "STRINGCONNECTION" & dbname
tdf.RefreshLink
End If
Next tdf