Re: CommandTimeout - TDataSetProvider/TADOQuery
From: Brian Bushay TeamB (BBushay_at_Nmpls.com)
Date: 06/30/04
- Next message: Brian Bushay TeamB: "Re: which were first called"
- Previous message: Brian Bushay TeamB: "Re: ADOtable Excel"
- In reply to: Leonardo Pinto: "CommandTimeout - TDataSetProvider/TADOQuery"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 29 Jun 2004 22:48:30 -0500
>I have a provider linked to a TADOQuery. The property ResolveToDataSet is false (in this case it canīt be true), so it will use TSQLResolver to update de Database. The TSQLResolver uses the TCustomADODataSet.PSExecuteStatement to execute the SQL statements. The problem is that this method doesnīt use the CommandTimeout value of the TADOQuery. So if a statement takes more than 30s to execute a "TimeOut Expired" exception will be thrown. Does anyone know how can i change the Time Out for this meth
>od?
What version of Delphi are you using? CommandTimeout doesn't work with
TadoQuery in D5. The workaround is to use TadoDataset
-- Brian Bushay (TeamB) Bbushay@NMPLS.com
- Next message: Brian Bushay TeamB: "Re: which were first called"
- Previous message: Brian Bushay TeamB: "Re: ADOtable Excel"
- In reply to: Leonardo Pinto: "CommandTimeout - TDataSetProvider/TADOQuery"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|