nIGHTmAYOR
Registered User.
- Local time
- Today, 11:21
- Joined
- Sep 2, 2008
- Messages
- 240
Interesting article (http://www.access-programmers.co.uk/forums/showthread.php?p=760764#post760764).
a bunch of observations though:
1 - the following posted code :
so i notice this methode to use TableDefs.Append .. wouldnt that methode still insert full definition and connection string into MSysObject table ?
2 - The following code :
why would i need to open the backend remotely ? if i am to issue calls to database wouldnt the connection string be enough ? now if i am to open a database remotely wouldnt that apply a lock rendering such database a single user backend ?
3 - the referanced resource :
so this connection string pass through odbc while may or may not have the connection saved to odbc registry key and thus relying on odbc connectivity and not a bridge like connection to the databse ?
if i am getting this correctly the above methode just provides Non Stored ODBC Like Connectivity , yet will rely again on ms access ultimate security hole called MSysObject
a bunch of observations though:
1 - the following posted code :
Code:
Set tdfCurrent = CurrentDb.CreateTableDef(NameForTableInAccess)
tdfCurrent.Connect = MyConnectionString
tdfCurrent.SourceTableName = TableNameAsNamedInBackEnd
CurrentDb.TableDefs.Append tdfCurrent
2 - The following code :
Code:
Set MyODBCDb = DBEngine(0).OpenDatabase("MyODBCDbName", dbDriverNoPrompt, True, strConnection)
3 - the referanced resource :
Code:
Set tdfCurrent = dbCurrent.CreateTableDef(typNewTables(intLoop).TableName)
tdfCurrent.Connect = "[COLOR=red]ODBC[/COLOR];DRIVER={sql server};DATABASE=" & _
DatabaseName & ";SERVER=" & ServerName & _
";Trusted_Connection=Yes;"
if i am getting this correctly the above methode just provides Non Stored ODBC Like Connectivity , yet will rely again on ms access ultimate security hole called MSysObject
Last edited by a moderator: