Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Multiple connections to DB with ADO
Name: Eric Samsel Date: August 22, 2003 at 08:00:51 Pacific OS: Win XP CPU/Ram: P4 2GhZ 256 meg Ram
Comment:
Hi,
My software uses ADO to log data to a MS Access database every 10 seconds or so. Also, queries are run every 5 minutes to compile the data. I open a transaction for the compilation every 5 minutes because sometimes users turn off the PC in the middle of a sequence of queries and it messes stuff up if half of the queries have run. However, when they do that, I lose all of the imported data every 10 seconds that happened since the beginning of the transaction. What I really need is two different connections to the same DB. I want one to be in a transaction while the other continues to push the data to the database without a transaction. I have tried opening the database twice and keeping my references separate but it doesn't seem to work. If you could email me that would be great!
Name: Chi Happens Date: August 22, 2003 at 13:30:44 Pacific
Reply:
what language do you need in it?
Also, just my 2 cents, but access might not be the best choice for something like this (which sounds a bit mission critical, access becomes corrupted quickly and easily)
When Access gives you concerns... and if this is a mission critical program... I suggest MySQL. I had problems with the number of records an Access db could hold for a mission critical app, had to covert it over to use MySQL.
Summary: I have an MS Access DB that I need to connect to and update through a VBScript file. I know how to do this in ASP, but the Server class which is used to create the connection object does not exist in...
Summary: I am trying to connect to a web site and grab some files that requires me to authenticate with a username and password. I know how to connect to a site without a username and password, but am stuck. ...
Summary: We are developing a data warehouse and need to connect to an Oracle database. What drivers need to be installed for this to work? Also where do the drivers need to reside, on the SQL machine or the ...