Platoo FReport ComponentsTFRInputParamItem

Contents - Methods - Properties

Used by TFRDataSource to store data recieved from t he client before data processing. TFRInputParams contains list of TFRInputParamItems, one item for each data record.


Description
TFRInputParams object is created automatically when a request from t he client is recieved.


TFRInputParamItem - Methods

Contents - TFRInputParamItem - Properties

~TFRInputParamItem
Destructor

C++ declaration
__fastcall virtual ~TFRInputParamItem(void)

Description
FRComponents will handle construction and destruction automatically.

Create
You will not need to create or destroy TFRInputParamItem.

Delphi declaration
constructor Create;

Description
FRComponents will handle construction and destruction automatically.

Destroy
You will not need to create or destroy TFRInputParamItem.

Delphi declaration
destructor Destroy;

Description
FRComponents will handle construction and destruction automatically.

FindFirstData
Finds the first data field.

Delphi declaration
function FindFirstData: Boolean;
C++ declaration
bool __fastcall FindFirstData(void)

Description
Use to iterate over data fields of the current record.

FindFirstKey
Finds the first part of the record key.

Delphi declaration
function FindFirstKey: Boolean;
C++ declaration
bool __fastcall FindFirstKey(void)

Description
Use to iterate over key fields.

FindNextData
Finds t he next data field.

Delphi declaration
function FindNextData: Boolean;
C++ declaration
bool __fastcall FindNextData(void)

Description
Use to iterate over data fields of the current record.

FindNextKey
Finds t he next part of t he record key.

Delphi declaration
function FindNextKey: Boolean;
C++ declaration
bool __fastcall FindNextKey(void)

Description
Use to iterate over key fields.

TFRInputParamItem
Constructor

C++ declaration
__fastcall TFRInputParamItem(void)

Description
FRComponents will handle construction and destruction automatically.


TFRInputParamItem - Properties

Contents - TFRInputParamItem - Methods

DataCursor
Cursor for iterating list of input data fields.

Delphi declaration
DataCursor: Integer;
C++ declaration
int DataCursor

Description
Used internally.

DataSaved
Examine DataSaved to find out, if new data in current TFRInputParamItem is saved to t he dataset.

Delphi declaration
DataSaved: Boolean;
C++ declaration
bool DataSaved

Description
If DataSaved is true, data is already saved ; if false, data is not yet saved.

DataValues
Used to represent data field values.

Delphi declaration
DataValues: TStringList;
C++ declaration
Classes::TStringList *DataValues

Description
TStringList of Name=Value strings where Name is the field name and Value is the field value represented as a string.

InputState
Represents state of t he data record associated with current TFRInputParamItem.

Delphi declaration
InputState: AnsiString;
C++ declaration
System::AnsiString InputState

Description
Possible values;

Value Meaning

Browse Record was opened for reading.

Edit Record was opened for editing.

Append New record was (will be) appended.

KeyCursor
Cursor for iterating list of input key fields.

Delphi declaration
KeyCursor: Integer;
C++ declaration
int KeyCursor

Description
Used internally.

KeyValues
Used to bind set of input data with a record in underlying dataset.

Delphi declaration
KeyValues: TStringList;
C++ declaration
Classes::TStringList *KeyValues

Description
TStringList of Name=Value strings. Values will be used to a search record from t he dataset.

MNum
Record number in master dataset.

Delphi declaration
MNum: Integer;
C++ declaration
int MNum

Description
Used to bind a record with a record in t he master dataset.

RNum
Number of data row.

Delphi declaration
RNum: Integer;
C++ declaration
int RNum

Description
Used internally.