onClick command to insert data from one dataset to another

I am looking at this post. https://www.wix.com/code/home/forum/community-discussion/sending-dataset-items-to-a-db-solved