I have a problem with settings of the query execution timeout with TADOQuery, TADOCommand or TADODataSet (I\'ve tried it with each one). I have a tiny application, which con
I've always used the following code to set the CommandTimeout value on a TADOQuery. If you adjust the class name it should also work with the others as well.
type
TADOQueryHack = class(TADOQuery);
...
TADOQueryHack(Qry).CommandTimeout := COMM_TIMEOUT;