Ignore:
Timestamp:
Jan 23, 2015, 12:00:37 AM (10 years ago)
Author:
chronos
Message:
  • Modified: All data types have own table which is used to specify supported data types by database engines.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormFields.pas

    r4 r8  
    6363procedure TFormFields.FormShow(Sender: TObject);
    6464begin
     65  if not Assigned(Fields) then
     66    raise Exception.Create('Fields not set');
    6567  Caption := 'Table fields - ' + TableName;
    6668  UpdateInterface;
     
    7375begin
    7476  NewField := TField.Create;
     77  NewField.Table := Fields.Table;
    7578  NewField.Name := 'New field';
    7679  FormField.Load(NewField);
     
    117120  with TField(Fields[Item.Index]) do begin
    118121    Item.Caption := Name;
    119     Item.SubItems.Add(FieldTypeString[FieldType]);
     122    Item.SubItems.Add(DataType.Name);
    120123    Item.SubItems.Add(BoolToStr(Required));
    121124    Item.SubItems.Add(TextBefore);
Note: See TracChangeset for help on using the changeset viewer.