44 |
|
Label5: TLabel; |
45 |
|
ReadOnlyGrid: TIBDynamicGrid; |
46 |
|
procedure GenerateBtnClick(Sender: TObject); |
47 |
– |
procedure IncludePrimaryKeysChange(Sender: TObject); |
47 |
|
private |
48 |
|
|
49 |
|
protected |
81 |
|
end; |
82 |
|
with IBSQLEditFrame1 do |
83 |
|
begin |
85 |
– |
IncludePrimaryKeys := false; |
84 |
|
IncludeReadOnlyFields := false; |
85 |
|
ExecuteOnlyProcs := true; |
86 |
|
SQLText.Lines.Assign(SelectSQL); |
100 |
|
|
101 |
|
{ TIBModifySQLEditorForm } |
102 |
|
|
105 |
– |
procedure TIBModifySQLEditorForm.IncludePrimaryKeysChange(Sender: TObject); |
106 |
– |
begin |
107 |
– |
IBSQLEditFrame1.IncludePrimaryKeys := IncludePrimaryKeys.Checked; |
108 |
– |
end; |
109 |
– |
|
103 |
|
procedure TIBModifySQLEditorForm.Loaded; |
104 |
|
begin |
105 |
|
inherited Loaded; |
115 |
|
if PageControl.ActivePage = ExecutePage then |
116 |
|
IBSQLEditFrame1.GenerateExecuteSQL(QuoteFields.Checked) |
117 |
|
else |
118 |
< |
IBSQLEditFrame1.GenerateModifySQL(QuoteFields.Checked,not IncludePrimaryKeys.Checked); |
118 |
> |
IBSQLEditFrame1.GenerateModifySQL(QuoteFields.Checked,IncludePrimaryKeys.Checked); |
119 |
|
end; |
120 |
|
|
121 |
|
|