RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomProvider.DoAfterExecute Method

Generates an AfterExecute event.

Pascal
procedure DoAfterExecute(var OwnerData: OleVariant); virtual;
C++
virtual __fastcall DoAfterExecute(OleVariant OwnerData);

The Execute method calls DoAfterExecute to generate the AfterExecute event after executing CommandText or the associated query or stored procedure but before fetching any output parameters. 

OwnerData supplies custom information to the AfterExecute event handler. This is the same as the outgoing OwnerData parameter of the BeforeExecute event handler. The AfterExecute event handler can change this value. The returned value is then passed to the client. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!