{ Blog on Dynamics 365 Finance - By Vishal Tiwari }

MultiSelection of records


void checkSelectedRecords()
{
Student inventLocal;
;
//getFirst method gets all the selected records in the grid
inventLocal = Student_ds.getFirst(true);

while (inventLocal)
{
info(strfmt("You selected Item %1",inventLocal.Studentid));
// get the next selected record
inventLocal = Student_ds.getNext();
}
}

------------------------------------------------------------------------------------------
void clicked()
{
super();
element.checkSelectedRecords();
  

}

check the buttons property multiselect :: yes or not.

No comments

DeepSeek-R1: The AI Revolution Everyone’s Talking About!

  In the ever-evolving world of artificial intelligence, a new player has emerged, challenging the giants and rewriting the rules of innovat...

Powered by Blogger.