Multi Select Records In form Will stored in New Table


in clicked method
void clicked()
{
   DLSMultiSelect dLSMultiSelect1;
   DLSMultiSelect2 dls1;//New Table

    dLSMultiSelect1 =DLSMultiSelect_ds.getFirst(1);
    while(dLSMultiSelect1)
    {
        dls1.Sno = dLSMultiSelect1.Sno;
        dls1.Name =dLSMultiSelect1.Name;
        dls1.Address =dLSMultiSelect1.Address;
        dls1.Salary = dLSMultiSelect1.Salary;
        dls1.insert();
    }
        dLSMultiSelect1 = DLSMultiSelect_ds.getNext();
    info("record is inserted");
}

Comments

Popular posts from this blog