Delete record from a Form and Insert the deleted record to another form

Delete record from a Form and Insert the deleted record to another form

Hi,

I am trying to figure out script that delete a record from FormA and insert the same deleted record to another formB

Below is sample what I am using  to delete the record


if (input.Update_Sub01  !=  null)
{
    
if (chan_count1  <  1)

     {

  delete from Chanel_Database[ (CD_tvId == input.Update_TVID && CD_channel_NO == input.Update_channelNo01)];
      }

}

I want to insert the above deleted record to another form - FormB

Could anyone please help me ?

Thanks

Arfater