Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO problem

Status
Not open for further replies.

GCTIberica

Programmer
Jun 20, 2003
30
ES
OK, I have quite a problem with ADO! In my server, I have an ADOConnection and an ADOQuery. These are "supposed" to run concurrently, however, it doesn´t seem to work!
Therefore, if I send 2 queries to the server at the same time, sometimes the values are lost - they don´t reach the database. Does anyone know about this or has anyone had the same problem?

Thanks
 

If you need two active queries at the same time, you need two TADOQuery objects. They can use the same connection.

 
Hi Zathras
I have the queries as objects! Really I should only have one adoquery to access the db, but it doesn´t seem to work :-(
 
Yes, you only need one TADOQuery if you are only going to execute one query at a time. But you said

...I send 2 queries to the server at the same time...
(emphasis added)

so you need to have two TADOQuery components dropped on your form (or data module) otherwise you might find that

...sometimes the values are lost - they don´t reach the database...


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top