A
Alex Elbert
It worked in 97/2000/XP mdb/mde/normal/runtime. It works in regular Access 2003. However, it creates run-time error "Ivalid argument" with Access 2003 runtime. Here is the code linking front-end with password protected back-end
strConnect = "MS Access;PWD=******;Database=" & strPath & "
tbf.Connect = strConnec
tbf.SourceTableName = strTabl
tbf.Attributes = dbSystemObjec
dbs.TableDefs.Append tb
CreateAttachedDAO = Tru
I narrowed down my search to this: tbf.Attributes = dbSystemObjec
Looks like Access 2003 runtime doesn't allow linked table to be a system object. Can somebody confirm it?
strConnect = "MS Access;PWD=******;Database=" & strPath & "
tbf.Connect = strConnec
tbf.SourceTableName = strTabl
tbf.Attributes = dbSystemObjec
dbs.TableDefs.Append tb
CreateAttachedDAO = Tru
I narrowed down my search to this: tbf.Attributes = dbSystemObjec
Looks like Access 2003 runtime doesn't allow linked table to be a system object. Can somebody confirm it?