Save new data in another table action allows copying added or modified data to another table. This table should be a part of the project.
Available in the following events:
•Add page: Before record added
•Edit page: Before record updated
'********** Save new data in another table (VB) ************
dim data
data = XVar.Array()
data("make") = values("make")
data("model") = values("model")
data("price") = values("price")
DB.Insert("copy_of_cars", data)
//********** Save new data in another table (C#) ************
dynamic data = XVar.Array();
data["make"] = values["make"];
data["model"] = values["model"];
data["price"] = values["price"];
DB.Insert("copy_of_cars", data);
See also
•Save old data in another table
•Insert a record into another table