CommandTimeout - TDataSetProvider/TADOQuery

From: Leonardo Pinto (leomattos_at_rm.com.br)
Date: 06/29/04

  • Next message: Kevin Frevert: "Re: CommandTimeout - TDataSetProvider/TADOQuery"
    Date: 29 Jun 2004 10:32:40 -0700
    
    

    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?

    Thanks


  • Next message: Kevin Frevert: "Re: CommandTimeout - TDataSetProvider/TADOQuery"