Changeset 54 for trunk/Client/Forms/UFormImportStructure.pas
- Timestamp:
- Oct 12, 2012, 11:43:43 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Client/Forms/UFormImportStructure.pas
r49 r54 126 126 127 127 SQLTables.Clear; 128 GroupId := Core.System.Add Group(Database.Database, 0);128 GroupId := Core.System.AddMenu(Database.Database, 0); 129 129 Database.Query(DbRows, 'SHOW TABLES'); 130 130 for T := 0 to DbRows.Count - 1 do begin … … 133 133 TableName := DbRows[T].Items[0].Value; 134 134 Memo1.Lines.Add('Create object "' + TableName + '"'); 135 NewTable.Table.Add('ObjId', IntToStr(Core.System.AddObject(TableName, TableName, Database.Database , GroupId)));135 NewTable.Table.Add('ObjId', IntToStr(Core.System.AddObject(TableName, TableName, Database.Database))); 136 136 end; 137 137
Note:
See TracChangeset
for help on using the changeset viewer.