Xml.XmlTransform.TXMLTransform.BeforeEachRowSet
Delphi
property BeforeEachRowSet: TRowEvent read FBeforeEachRowSet write FBeforeEachRowSet;
C++
__property TRowEvent BeforeEachRowSet = {read=FBeforeEachRowSet, write=FBeforeEachRowSet};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Xml.XmlTransform.pas Xml.XmlTransform.hpp |
Xml.XmlTransform | TXMLTransform |
Description
Occurs immediately before TXMLTransform starts transforming the entire XML data packet or a nested detail set.
Write an BeforeEachRowSet event handler to take specific action before the XML transform component starts translating a dataset. This can be a nested detail set, or the entire XML data packet.
For example, you can use BeforeEachRowSet with the AfterEachRowSet 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.