Wednesday, January 3, 2018
How to Delete selected records in a List applet
How to Delete selected records in a List applet
In List applet,as per vanilla it is not possible to delete the selected records at a time.To achieve this add the below code in applet level then it will allow to delete the selected records.
var oBusComp = this.BusComp();
with(oBusComp)
{
var iRecord = FirstSelected();
while (iRecord)
{
this.InvokeMethod("DeleteRecord");
iRecord = NextSelected();
}
}
var oBusComp = this.BusComp();
with(oBusComp)
{
var iRecord = FirstSelected();
while (iRecord)
{
this.InvokeMethod("DeleteRecord");
iRecord = NextSelected();
}
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.