Hi everyone.
I was just wondering, is it a problem to try and establish a connection and grab a recordset via ADO to an Access database that someone else has open? Could you hurt the database if you try to do this?
The reason I ask is because I was writing a macro in Outlook this morning. My macro was connecting to a database on our server and everything seemed ok. A little while later I navigated to the database in Windows explorer, opened it up, and there was no data in the database--every record in every table was gone. This freaked me out because I had just been accessing that database this morning and everything was fine. I found out that another staff member had the database open because she was adding some data to it at about the same time. So either this is a big coincidence that the data got hammered on the same morning that I was fiddling with it via ADO, or the other staff member inadvertently caused the data crash somehow. Either way, scary. A tmp database was on the server that still had all the data in it, so crisis averted.
Note that in my ADO execute statement, I was only using a SELECT statement--I never asked the database to change any existing data.
Is it possible that my actions messed our database up? Or coincidence?
Duluter
I was just wondering, is it a problem to try and establish a connection and grab a recordset via ADO to an Access database that someone else has open? Could you hurt the database if you try to do this?
The reason I ask is because I was writing a macro in Outlook this morning. My macro was connecting to a database on our server and everything seemed ok. A little while later I navigated to the database in Windows explorer, opened it up, and there was no data in the database--every record in every table was gone. This freaked me out because I had just been accessing that database this morning and everything was fine. I found out that another staff member had the database open because she was adding some data to it at about the same time. So either this is a big coincidence that the data got hammered on the same morning that I was fiddling with it via ADO, or the other staff member inadvertently caused the data crash somehow. Either way, scary. A tmp database was on the server that still had all the data in it, so crisis averted.
Note that in my ADO execute statement, I was only using a SELECT statement--I never asked the database to change any existing data.
Is it possible that my actions messed our database up? Or coincidence?
Duluter