In my Delphi 2009 application I need to check if a field exists and if it doesn\'t add it during application execution.
I have figured out the test for the field,
try this
fld:= TStringField.Create(tbl); fld.FieldName := 'test'; fld.DisplayLabel := 'test'; fld.name := 'test'; fld.DataSet := tbl; fld.Size := 30; tbl.Fields.Add(fld);
Bye.