Posts

Showing posts from September, 2025

JumpRef on form extension/ Access child form record from parent form

Image
Apply JumpRef on form extension/ Access child form record from parent form    Use case : Jump to child form from standard form field and filter records on the child form. Parent form : Let's suppose "SalesTable" is the parent form, and "SalesTable_DS" is its primary data source. Child form : XXX_TestForm is the child form, XXXTestTable_DS is the primary data source. Parent form extension: [ExtensionOf(formStr(SalesTable))] public final class XXXSalesTable_Extension {    public void jumpRef(FormControl _formControl)       {         XXXTestTable     testTable; // Your target table         MenuFunction     menuFunction;         Args args    = new Args();         str refValue = _formControl.valueStr();         if (testTable.RecId)         {             select first...