In Forms we will have the Grid with multiple records, so that we want to process the multiple records at the button click, do the following procedure.
Select button or menubutton and go to properties window and select multiselect=yes.
In Click of the button write the following code
void clicked()
{
CustTable custTable;
;
super();
if(CustTable_ds.anyMarked())
{
custTable= CustTable_Ds.getFirst(1,false);
while(custTable)
{
info(custTable.AccountNum);
custTable= CustTable_Ds.getNext();
}
}
}
Select button or menubutton and go to properties window and select multiselect=yes.
In Click of the button write the following code
void clicked()
{
CustTable custTable;
;
super();
if(CustTable_ds.anyMarked())
{
custTable= CustTable_Ds.getFirst(1,false);
while(custTable)
{
info(custTable.AccountNum);
custTable= CustTable_Ds.getNext();
}
}
}
No comments:
Post a Comment
Thanks for visiting my blog,
I will reply for your comment within 48 hours.
Thanks,
krishna.