Please enable JavaScript to view this site.

Navigation: Advanced topics > Events > Predefined actions

Events. Save new data in another table

Scroll Prev Next More

 

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_select_action

 

 

 

'**********  Save new data in another table  ************
Dim data
Set data = CreateDictionary()
data("make") = values("make")
data("type") = values("type")
data("price") = values("price")
DB_Insert "copy_of_cars",data

See also

•Database API

•Database API: Insert        

•Save old data in another table

•Insert a record into another table