R
Ralph Boswell
Hi,
I would like to create secure databases, each database created linked
with a separated mdw file. Thus I create a database named whatever.mdb
with a corresponding whatever.mdw. I do not want to join an existing
mdw but create it on the fly and add specific users.
I have tried the following ADOX method :
catalog.Create "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & DbName
& ";Jet OLEDB:Create System Database=True;Jet OLEDB:System Database=" &
DbSystemName
DBname and dbsystemname being respectively the database name and the
associated mdw file name. the mdb is well created but no trace of the
mdw file.
Is the another way to do this simply. Any reference or code is welcome.
Thanks in advance,
Ralph
I would like to create secure databases, each database created linked
with a separated mdw file. Thus I create a database named whatever.mdb
with a corresponding whatever.mdw. I do not want to join an existing
mdw but create it on the fly and add specific users.
I have tried the following ADOX method :
catalog.Create "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & DbName
& ";Jet OLEDB:Create System Database=True;Jet OLEDB:System Database=" &
DbSystemName
DBname and dbsystemname being respectively the database name and the
associated mdw file name. the mdb is well created but no trace of the
mdw file.
Is the another way to do this simply. Any reference or code is welcome.
Thanks in advance,
Ralph