Kitto.RB.ppStorePipe
TppKStorePipeline class
ReportBuilder data pipeline that feeds a KittoX in-memory store (TKStore) to a ppReport. Adapts TKRecord/TKField to the ppReport pipeline contract, so reports can be run directly against Kitto stores without a dataset.
constructor CreatePipeline(aOwner: TComponent;Creates the pipeline bound to the given store and (optional) single record, with the specified ppReport pipeline name.
procedure FreeBookmark(aBookmark: NativeInt);Releases a bookmark previously obtained via GetBookmark.
function GetBookmark: NativeInt;Returns a bookmark for the current record position.
function GetDataSetName: String;Returns the pipeline's data set name.
function GetFieldIsCalculated(aFieldName: String): Boolean;Returns True if the named field is a calculated field.
function GetFieldNames(aFieldNameList: TStrings): Boolean;Fills the list with the names of the store's fields.
function GetFieldAsDouble(aFieldName: String): Double;Returns the named field of the current record as a Double.
function GetFieldAsGuid(aFieldName: String): TGUID;Returns the named field of the current record as a TGUID.
procedure GetFieldAsStream(aFieldName: String;Writes the named field of the current record into the given stream.
function GetFieldAsPicture(aFieldName: String): TPicture;Returns the named field of the current record as a TPicture.
function GetFieldAsString(aFieldName: String): String;Returns the named field of the current record as a string.
function GetFieldDataType(aFieldName: String): TppDataType;Returns the ppReport data type of the named field.
function GetFieldIsNull(aFieldName: String): Boolean;Returns True if the named field of the current record is null.
function GetFieldValue(aFieldName: string): Variant;Returns the named field of the current record as a Variant.
procedure GotoBookmark(aBookmark: NativeInt);Moves the current record position to the given bookmark.
TraTppKStorePipelineRTTI class
ppReport RTTI helper that exposes TppKStorePipeline properties to the ReportBuilder RAP scripting engine at design/run time.
class function GetPropRec(aClass: TClass;Returns the RAP property descriptor for the named property.
class function GetPropValue(aObject: TObject;Reads the named property value from the object for the RAP engine.
class function RefClass: TClass;Returns the class (TppKStorePipeline) this RTTI helper describes.
class function SetPropValue(aObject: TObject;Writes the named property value on the object from the RAP engine.
Routines
function ppConvertFieldType(aFieldType: TEFDataType): TppDataType;Maps an EF data type to the corresponding ppReport field data type.
