Posts

Showing posts from September, 2023

Access form level selected records from another class on button click

Image
 On Form level we have selected multiple records and we wants to access those selected records on button clicked, the below code can be helpfull. Created a form : XXXTestForm Form datasource table : XXXTestTable Created action menu (Linked class: XXXTestClass) and placed on form action pane : XXXTestMenuItem Write below code on form button click [Form] public class TestTestForm extends FormRun {     [Control("MenuFunctionButton")]     class TestMenuItem     {         /// <summary>         ///         /// </summary>         public void clicked()         {             super();             int recordsCount;             XXXTestTable testTable;             container con;             Args args;  ...