I know MS Access is not designed for this purpose but is it possible to connect to a Access database in a script on a remote server?
Phyxious schrieb: > I know MS Access is not designed for this purpose but is it possible to > connect to a Access database in a script on a remote server? Map a drive (e.g. X:) to the server's directory containing the .mdb and use sConn = "Provider=Microsoft.Jet.OLEDB.4.0;data source=X:\Test_Inventory.mdb"
OK how about, is it possible to do it without mapping a drive or creating a DSN. Is there a way to it within the code? "ekkehard.horner" wrote: > Phyxious schrieb: > > I know MS Access is not designed for this purpose but is it possible to > > connect to a Access database in a script on a remote server? > > Map a drive (e.g. X:) to the server's directory containing the .mdb > and use > > sConn = "Provider=Microsoft.Jet.OLEDB.4.0;data source=X:\Test_Inventory.mdb" > >
Phyxious schrieb: > OK how about, is it possible to do it without mapping a drive or creating a > DSN. Is there a way to it within the code? > Try: sConn = "Provider=Microsoft.Jet.OLEDB.4.0;" _ & "data source=\\<server>\<path>\Test_Inventory.mdb" > "ekkehard.horner" wrote: > >> Phyxious schrieb: >>> I know MS Access is not designed for this purpose but is it possible to >>> connect to a Access database in a script on a remote server? >> Map a drive (e.g. X:) to the server's directory containing the .mdb >> and use >> >> sConn = "Provider=Microsoft.Jet.OLEDB.4.0;data source=X:\Test_Inventory.mdb" >> >>