luistsousa
Technical User
Hello
I have a very simple question to make. With the code below i create a new field in a table. However, I want create a new field with a variable name. So, Who I insert a variable "new_field" in tquery sql?
Many thanks
Query1->Close();
Query1->SQL->Clear();
Query1->SQL->Add("ALTER TABLE table_name, ADD new_field CHAR(25)"
Query1->ExecSQL();
I have a very simple question to make. With the code below i create a new field in a table. However, I want create a new field with a variable name. So, Who I insert a variable "new_field" in tquery sql?
Many thanks
Query1->Close();
Query1->SQL->Clear();
Query1->SQL->Add("ALTER TABLE table_name, ADD new_field CHAR(25)"
Query1->ExecSQL();