NeoPa (or anyone else), i need your help with this again,
I had it working before but want to use it in a new database here is my code:
It errors at the refreshlink line and says "invalid operation" (3219)
Any ideas? (all the variables are set correctly (AFAIK)
Dan
I had it working before but want to use it in a new database here is my code:
Code:
Function TableReMap(tbl As String, Path As String)
Dim DB As DAO.Database, tblDef As DAO.TableDef
Set DB = CurrentDb
Set tblDef = DB.CreateTableDef(tbl)
tblDef.Connect = ";Database=" & Path
tblDef.RefreshLink
Any ideas? (all the variables are set correctly (AFAIK)
Dan
Comment