124 |
|
FDataSet := DataSet; |
125 |
|
with IBSQLEditFrame1 do |
126 |
|
begin |
127 |
– |
IncludePrimaryKeys := false; |
127 |
|
IncludeReadOnlyFields := false; |
128 |
|
end; |
129 |
|
Result := ShowModal = mrOK; |
187 |
|
|
188 |
|
procedure TIBDataSetEditorForm.GenerateButtonClick(Sender: TObject); |
189 |
|
begin |
190 |
< |
IBSQLEditFrame1.GenerateSelectSQL(QuoteFields.Checked,FSelectSQL); |
191 |
< |
IBSQLEditFrame1.GenerateRefreshSQL(QuoteFields.Checked,FRefreshSQL); |
190 |
> |
IBSQLEditFrame1.GenerateSelectSQL(QuoteFields.Checked,FSelectSQL,true); |
191 |
> |
IBSQLEditFrame1.GenerateRefreshSQL(QuoteFields.Checked,FRefreshSQL,true); |
192 |
|
IBSQLEditFrame1.GenerateDeleteSQL(QuoteFields.Checked,FDeleteSQL); |
193 |
|
IBSQLEditFrame1.GenerateInsertSQL(QuoteFields.Checked,FInsertSQL); |
194 |
< |
IBSQLEditFrame1.GenerateModifySQL(QuoteFields.Checked,FModifySQL, not IncludePrimaryKeys.Checked); |
194 |
> |
IBSQLEditFrame1.GenerateModifySQL(QuoteFields.Checked,FModifySQL, IncludePrimaryKeys.Checked); |
195 |
|
FDirty := false; |
196 |
|
PageControl.ActivePage := SQLPage; |
197 |
|
end; |