Issue #852: Implement Assign method on TTableColumnList and friends, TDBObject.LoadDetails and .UnloadDetails, and cross fingers that assigning details to Mainform.FActiveDbObj reduces the number of internal queries

This commit is contained in:
Ansgar Becker
2020-01-16 07:40:30 +01:00
parent 94cd1d84ed
commit 1c39075d7c
7 changed files with 121 additions and 51 deletions

View File

@ -236,7 +236,7 @@ begin
try
MainForm.ActiveConnection.Query(sql);
DBObject.Name := editName.Text;
DBObject.CreateCode := '';
DBObject.UnloadDetails;
tabALTERcode.TabVisible := DBObject.Name <> '';
Mainform.UpdateEditorTab;
Mainform.RefreshTree(DBObject);