Class TCustomrDBRecViewUDB
Unit
rDBComponents_UDB
Declaration
type TCustomrDBRecViewUDB = class(TrDBRecView)
Description
TrDBRecView descendant with possibility to load/show/edit record from any SQL command
Hierarchy
- TrDBRecView
- TCustomrDBRecViewUDB
Overview
Methods
Properties
Description
Methods
|
procedure Loaded; override; |
|
|
procedure Notification(AComponent: TComponent; Operation: TOperation); override; |
|
|
procedure ReloadData; |
open SQL command and refresh recview content
|
Properties
|
property RecDataSet: TQueryIntList read FRecDataSet; |
return internal Dataset to allow reading of other fields
|
|
property RecDataSource: TDataSource read FRecDataSource; |
return internal Datasource to allow using for other DB components
|
|
property RecSQL: TStrings read FRecSQL write SetRecSQL; |
define SQL command
|
|
property RecConnection: TCustomConnectionUDB read FRecConnection write SetRecConnection; |
define UDB connection
|
|
property RecAutoLoad: boolean read FRecAutoLoad write FRecAutoLoad default true; |
define whether ReloadData is called automatically after loading
|
|
property RecSQLTryNow: boolean read FRecSQLTryNow write SetRecSQLTryNow default false; |
try to open SQL command in design time
|
|
property OnGetRecSQL: TGetSQLEvent read FOnGetRecSQL write FOnGetRecSQL; |
call before opening of SQL to allow update command or set WHERE condition
|
|
property RecDataSetReadOnly: boolean read FRecDataSetReadOnly write FRecDataSetReadOnly default false; |
define whether internal dataset is read only (editing is not allowed)
|
|
property OnRecDataSetEvent: TDataSetEvent read FRecDataSetEvent write SetRecDataSetEvent; |
define event for internal dataset (BeforeOpen, BeforePost... After... ses TDataSetEventTypes
|
Generated by PasDoc 0.15.0.
|