Custom function

Custom function

Hi,

I am using below function to update the Website field of a Form from another Form's url field. What I am getting bored that I need to go through each record of the form (clicking on function button).

So I am wondering if there is a way that I can update 200 records in a single button click that would be very interesting ans also time saving .

Script:

void SearchLink.MVPDUpdateLinks(int id)
{
    set  =  MVPD  [mvpd_ID == input.id];

    dat  =  SourceDat[Test_id == input.id];

    set.mvpd_website = dat.website;
   
}


Could anyone please help me ?