44 |
|
GenerateParams: TCheckBox; |
45 |
|
IBSQLEditFrame1: TIBSQLEditFrame; |
46 |
|
IncludeSysTables: TCheckBox; |
47 |
+ |
Label5: TLabel; |
48 |
+ |
Label6: TLabel; |
49 |
|
PrimaryKeysGrid: TIBDynamicGrid; |
50 |
+ |
IdentityGrid: TIBDynamicGrid; |
51 |
+ |
ReadOnlyGrid: TIBDynamicGrid; |
52 |
|
SelectSelectAll: TCheckBox; |
53 |
|
SelectTableNames: TIBLookupComboEditBox; |
54 |
|
TestBtn: TButton; |
122 |
|
GenerateParams.Checked := DataSet.GenerateParamNames; |
123 |
|
end; |
124 |
|
FDataSet := DataSet; |
125 |
+ |
with IBSQLEditFrame1 do |
126 |
+ |
begin |
127 |
+ |
IncludePrimaryKeys := false; |
128 |
+ |
IncludeReadOnlyFields := false; |
129 |
+ |
end; |
130 |
|
Result := ShowModal = mrOK; |
131 |
|
if Result and assigned(DataSet) then |
132 |
|
DataSet.GenerateParamNames := GenerateParams.Checked |
260 |
|
FieldNamesGrid.DataSource := IBSQLEditFrame1.FieldsSource; |
261 |
|
if PrimaryKeysGrid <> nil then |
262 |
|
PrimaryKeysGrid.DataSource := IBSQLEditFrame1.PrimaryKeySource; |
263 |
+ |
if IdentityGrid <> nil then |
264 |
+ |
IdentityGrid.DataSource := IBSQLEditFrame1.IdentityColsSource; |
265 |
+ |
if ReadOnlyGrid <> nil then |
266 |
+ |
ReadOnlyGrid.DataSource := IBSQLEditFrame1.ReadOnlyFieldsSource; |
267 |
|
end; |
268 |
|
end; |
269 |
|
|