mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 21:19:31 +02:00
* Added easy access function for params
git-svn-id: trunk@15471 -
This commit is contained in:
parent
a2eaa2db34
commit
8d84ac54ca
@ -274,6 +274,7 @@ type
|
||||
property Prepared : boolean read IsPrepared;
|
||||
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
|
||||
function RowsAffected: TRowsCount; virtual;
|
||||
function ParamByName(Const AParamName : String) : TParam;
|
||||
protected
|
||||
|
||||
// redeclared data set properties
|
||||
@ -823,6 +824,12 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
function TCustomSQLQuery.ParamByName(Const AParamName : String) : TParam;
|
||||
|
||||
begin
|
||||
Result:=Params.ParamByName(AParamName);
|
||||
end;
|
||||
|
||||
procedure TCustomSQLQuery.OnChangeModifySQL(Sender : TObject);
|
||||
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user