Thursday 24 December 2015

Click method for marked records

/* Take a Button in butongroup,change the property “Multiselect = yes”
and write the follwing code clicked method of the control. */

void clicked()
{
   UB_Student_Dtl  _Student_Dtl;
   ;

   breakpoint;

   super();

   if(Stdtl_ds.anyMarked())
   {
   _Student_Dtl = Stdtl_ds.getFirst(1,false);
    while (_Student_Dtl)
    {
       info(_Student_Dtl.ID);
    _Student_Dtl = Stdtl_ds.getNext() ;
    }

   }

}

No comments:

Post a Comment