|
AnyDAC
|
Returns DatS row.
|
Parameters |
Description |
|
ABuffer: PADBuffer = nil |
A dataset record buffer or nil (default). |
|
AForceBufferRead: Boolean = False |
Set to False (default). |
A DatS row.
Call GetRow method to get DatS row object for specified dataset record buffer or for current record.
If ABuffer specified, then AnyDAC takes assocciated row object from it. Otherwise it uses TDataSet.ActiveBuffer value, which corresponds to current position in dataset.
function GetRow(ABuffer: PADBuffer = nil; AForceBufferRead: Boolean = False): TADDatSRow;
TADDatSRow, TDataSet.ActiveBuffer
var oRow: TADDatSRow; ..... oRow := ADQuery1.GetRow; // cancel all changes for this row oRow.RejectChanges;
|
What do you think about this topic? Send feedback!
|