Sometimes we come across a scenario where we need to get the data from the selected records in a form contained in a grid.
For these kind of scenarios MultiSelectionHelper class has always been useful to achieve the same.
Let us look at an example mentioned below : -
MultiSelectionHelper selectionHelper = MultiSelectionHelper::construct();
Set selectedRecords = new Set(Types::Record);
ABCTable abcTable;
selectionHelper.parmDataSource(ABCTable_DS);
abcTable = selectionHelper.getFirst();
if (abcTable.RecId)
{
while(abcTable)
{
selectedRecords.add(abcTable);
info(strFmt('Selected record.. %1',abcTable.myField));
abcTable = selectionHelper.getNext();
}
}
That's all for now. Please let us know your questions or feedback in comments section !!!!
i get error in parmdata source parameter kindly help how to find parmdata source of any form
ReplyDeleteVPN is short for Virtual Private Network and is a technology that creates an encrypted secure connection over a less secure network like the Internet. The benefit is that it provides the security that the network on which it is based cannot provide. It uses the internet to transport data. Many such networks can be created by using different systems incorporating encryption and other security mechanisms to ensure that only authorized users can access the network and information cannot be intercepted by the others. It is like a tunnel built to transmit data between a network of say an organization and a remote user. It hides your data and IP address. dark web sites
ReplyDelete