Computing.Net > Forums > Programming > Multiple connections to DB with ADO

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

Reply to Message Icon

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!



Sponsored Link
Ads by Google

Response Number 1
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)


0

Response Number 2
Name: Infinite Recursion
Date: August 23, 2003 at 17:22:49 Pacific
Reply:

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.

Infinite Recursion


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Multiple connections to DB with ADO

VBScript connection to DB www.computing.net/answers/programming/vbscript-connection-to-db/12708.html

VBA- connect to web with user/pass www.computing.net/answers/programming/vba-connect-to-web-with-userpass/6418.html

Connect to Oracle with DTS www.computing.net/answers/programming/connect-to-oracle-with-dts/6905.html