G
Guest
I have been succesfully using Dev Ashish's code to re-link tables
programatically with great success.
However, I have just exported this code from a working database, and
imported it into a new database I'm writing, and I get an error message.
The message I receive is:
Compile error:
User-defined type not defined.
The line where the error occurs is:
Function fIsRemoteTable(dbRemote As Database, strTbl As String) As Boolean
Now I'm not too hot on the really technical parts of VBA and I'm struggling
to diagnose this error.
It's very frustrating as I have a databse where it works perfectly, but when
exported to a diferent DB it won't work.
Any help would be appreciated.
Thanks
Neil
programatically with great success.
However, I have just exported this code from a working database, and
imported it into a new database I'm writing, and I get an error message.
The message I receive is:
Compile error:
User-defined type not defined.
The line where the error occurs is:
Function fIsRemoteTable(dbRemote As Database, strTbl As String) As Boolean
Now I'm not too hot on the really technical parts of VBA and I'm struggling
to diagnose this error.
It's very frustrating as I have a databse where it works perfectly, but when
exported to a diferent DB it won't work.
Any help would be appreciated.
Thanks
Neil