Changeset 15 for trunk/USystem.pas
- Timestamp:
- Jun 13, 2011, 8:25:31 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 4 4 heaptrclog.trc 5 5 chronis.exe 6 DebugLog.txt
-
- Property svn:ignore
-
trunk/USystem.pas
r14 r15 184 184 Columns.Add(NewColumn); 185 185 NewColumn.Caption := Properties[I].Values['Name']; 186 NewColumn.ColumnName := Properties[I].Values['ColumnName']; ;186 NewColumn.ColumnName := Properties[I].Values['ColumnName']; 187 187 NewColumn.CustomType := GetDataType(StrToInt(Properties[I].Values['CustomType'])); 188 188 end; … … 298 298 Data.Add('Default', IntToStr(Default)); 299 299 Database.Insert(TypeNumber, Data); 300 CustomTypeId := Database.LastInsertId;300 //CustomTypeId := Database.LastInsertId; 301 301 302 302 Result := AddProperty(ObjectId, Name, ColumnName, CustomTypeId); … … 414 414 constructor TChronisBase.Create; 415 415 begin 416 Database := TSqlDatabase.Create;417 416 Types := TChronisTypeList.Create; 418 417 end; … … 421 420 begin 422 421 Types.Free; 423 Database.Free;424 422 inherited Destroy; 425 423 end;
Note:
See TracChangeset
for help on using the changeset viewer.