This unit implements report parameters, a TRpReport has params property
that is a collection of parameters that can interact with the report engine,
assigning them to datasets or evaluating them inside expressions.
Components and classes
Name
Base class
Description
TRpParam
TCollectionItem
Item with all information about the parameter like type, value, a list
of datasets to assign it...
TRpParamList
TCollection
Collection of parameters
TRpParamComp
TComponent
This component is used to perform streaming of parameters because TCollection
does not allow streaming without a component
Functions
Declaration
Description
function ParamTypeToDataType(paramtype:TRpParamType):TFieldType;
Returns the datatype of a param type
function VariantTypeToDataType(avariant:Variant):TFieldType;
Returns the datatype of a Variant
function ParamTypeToString(paramtype:TRpParamType):String;
Returns localized string description of a param type
function StringToParamType(Value:String):TRpParamType;
Reverse of last function
procedure GetPossibleDataTypes(alist:TStrings);
Fill the list with the all the possible param type descriptions