luistsousa
Technical User
Hello
I can add new fields to a table with the code in low. However, if I have datas in the other fields of the table, these I will be delete. How I can add new fields without erasing the old data?
TFieldDef *NewField =Table1->FieldDefs->AddFieldDef();
Table1->Active = false;
DataType = ftInteger;
NewField->Name = "new";
Table1->CreateTable();
Many Thanks
I can add new fields to a table with the code in low. However, if I have datas in the other fields of the table, these I will be delete. How I can add new fields without erasing the old data?
TFieldDef *NewField =Table1->FieldDefs->AddFieldDef();
Table1->Active = false;
DataType = ftInteger;
NewField->Name = "new";
Table1->CreateTable();
Many Thanks