Changeset 8 for trunk/Forms/UFormTables.pas
- Timestamp:
- Jan 23, 2015, 12:00:37 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormTables.pas
r6 r8 94 94 NewTable := TTable.Create; 95 95 NewTable.Name := 'New table'; 96 NewTable.Database := Database; 96 97 FormTable.Load(NewTable); 97 98 if FormTable.ShowModal = mrOk then begin … … 137 138 FormFields.TableName := OldTable.Caption; 138 139 FormFields.Fields := TFields.Create; 140 FormFields.Fields.Table := OldTable; 139 141 FormFields.Fields.Assign(OldTable.Fields); 142 for I := 0 to FormFields.Fields.Count - 1 do 143 TField(FormFields.Fields[I]).Table := TField(OldTable.Fields[I]).Table; 140 144 if FormFields.ShowModal = mrOk then begin 141 145 // Inefficient way to update table data. Copy original columns to new records and
Note:
See TracChangeset
for help on using the changeset viewer.