So I have an Access 97 database that some of my users need, and the database needs data from Access 2000. In A2000 I link to A97 and pass data to A97.
I have vbscript that can be run outside of access that'll run A2000 code, but it's annoying for the user to have to run the script and then go into A97 to run more code to finish updating data.
I made a batch file that can be run from A97 that closes A97 and is then supposed to run the A2000 module, but after it has closed A97 vbscript can't access the A2000 database saying that it's missing or opened exclusively.
It's not missing or opened exclusively. After I've been in A97 any script I try to run that would interact with A2000 fails with the same message. If however I open A2000 myself and close it, then any script that interacts with A2000 runs just fine.
So, is there a way to close A97 and somehow make Windows forget that it was recently in A97 so that it can interact with A2000+?
The obvious solution is for everyone to use A2003, but unfortunately different teams have different versions of Access here with no hope of changing that.
I have vbscript that can be run outside of access that'll run A2000 code, but it's annoying for the user to have to run the script and then go into A97 to run more code to finish updating data.
I made a batch file that can be run from A97 that closes A97 and is then supposed to run the A2000 module, but after it has closed A97 vbscript can't access the A2000 database saying that it's missing or opened exclusively.
It's not missing or opened exclusively. After I've been in A97 any script I try to run that would interact with A2000 fails with the same message. If however I open A2000 myself and close it, then any script that interacts with A2000 runs just fine.
So, is there a way to close A97 and somehow make Windows forget that it was recently in A97 so that it can interact with A2000+?
The obvious solution is for everyone to use A2003, but unfortunately different teams have different versions of Access here with no hope of changing that.