RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLTransform.AfterEachRowSet Event

Occurs after TXMLTransform has finished transforming the entire XML data packet or a nested detail set.

Pascal
property AfterEachRowSet: TRowEvent;
C++
__property TRowEvent AfterEachRowSet;

Write an AfterEachRowSet event handler to take specific action after the XML transform component has translated an entire dataset. This can be a nested detail set, or the entire XML data packet.  

For example, you can use AfterEachRowSet with the BeforeEachRowSet and OnTranslate methods to compute summary values: initialize a variable in the BeforeEachRowSet method, update it for every OnTranslate event, and use the result in the AfterEachRowSet event. 

 

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