When I run through this code:
DbN = "\\Green4\MSSQL\DATA\MSSQL\Data\SalesInvent_Data.MDF"
Set PTDB = Workspaces(0).OpenDatabase(DbN)
it gives me "Runtime Error '3045' could not use: "\\Green4\blablabla", file already in use."
But it isn't, what's going on. Is it a problem in the code or with SQL??
----------------
Joe
DbN = "\\Green4\MSSQL\DATA\MSSQL\Data\SalesInvent_Data.MDF"
Set PTDB = Workspaces(0).OpenDatabase(DbN)
it gives me "Runtime Error '3045' could not use: "\\Green4\blablabla", file already in use."
But it isn't, what's going on. Is it a problem in the code or with SQL??
----------------
Joe