In a screen, add a toolbar and a TOOLBAR link to the grid; in the menu used by the toolbar, add a new function, with the following as action parameter:
$ self.getLink('TOOLBAR:TARGET').controller.DeleteDB();
In a screen, add a toolbar and a TOOLBAR link to the grid; in the menu used by the toolbar, add a new function, with the following as action parameter:
$ self.getLink('TOOLBAR:TARGET').controller.DeleteDB();