EhLib
ContentsIndexHome
PreviousUpNext
TBaseSQLDataDriverEh.OnExecuteCommand Event

Occurs when it is necessary to execute a command on the server.

Pascal
property OnExecuteCommand: TSQLDataDriverExecuteCommandEhEvent;

Write this event to executes a command on the server and, if need, return DataSet. Perforce (if inquiry for the reception given) event code must assign Cursor parameter. FreeOnEof parameter defines that DataSet must be destroyed after using. 

You can call DefaultExecuteCommand procedure to process a command by default.

Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!