Re: [twsocket] [OT] ADOQuery async operation

2008-05-06 Thread Anatoly Podgoretsky
I know, TAdoDataset is simply to use No need work with _Recordset Best regards, Anatoly Podgoretsky - Original Message - From: "Angus Robertson - Magenta Systems Ltd" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 06, 2008 6:25 PM Subject: Re: [twsocket] [OT] ADOQuery

Re: [twsocket] [OT] ADOQuery async operation

2008-05-06 Thread info2004
Hi all, Thanks for the tips. I'm sure that this nudge in the right direction will sort me out. Regards, Andy Angus Robertson - Magenta Systems Ltd wrote: >> Instead use TAdoDataset for SELECT only and TAdoConnection / >> TAdoCommand for other queries > > TAdoConnection works fine for SELECT a

Re: [twsocket] [OT] ADOQuery async operation

2008-05-06 Thread Angus Robertson - Magenta Systems Ltd
> Instead use TAdoDataset for SELECT only and TAdoConnection / > TAdoCommand for other queries TAdoConnection works fine for SELECT as well, synchronously the EXECUTE method returns a _Recordset, as does the ExecuteComplete event for async use. Higher level ADO and DB components do integrate w

Re: [twsocket] [OT] ADOQuery async operation

2008-05-06 Thread Anatoly Podgoretsky
eries simultaneously or you must use some TAdoConnection object - one for each query. Best regards, Anatoly Podgoretsky - Original Message - From: "info2004" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Tuesday, May 06, 2008 9:13 AM Subject: [twsocket] [OT]

Re: [twsocket] [OT] ADOQuery async operation

2008-05-06 Thread Angus Robertson - Magenta Systems Ltd
> I have posted to newsgroups.borland.com, but so far no joy. I am > using some ICS components in my project though;) > The problem I have is getting the ADO stuff to work asynchronously. > All of this happens in a thread With ICS, you generally don't need to use threads, since everything is even

[twsocket] [OT] ADOQuery async operation

2008-05-05 Thread info2004
Hi, I have posted to newsgroups.borland.com, but so far no joy. I am using some ICS components in my project though;) The problem I have is getting the ADO stuff to work asynchronously. I am using a TADOQuery and have set ExecuteOptions to [eoAsyncExecute, eoAsyncFetch], and have set ADOQuery.