Hi Everyone,
is it possible to access a form's string Field's method
from another form's string Field's method.
i need an idea to proceed.Any suggestions are appreciated.
*This post is locked for comments
Hi Everyone,
is it possible to access a form's string Field's method
from another form's string Field's method.
i need an idea to proceed.Any suggestions are appreciated.
*This post is locked for comments
Thank you for the quick reply.
element.args().caller(); can only access the methods under Form>>methods, not the methods behind design/datasource controls.
If you move the Code to the table/class, it can be accessed everywhere, easier, and it is a best practice too
You can access one forms method on another form using object.
Object myForm = element.args().caller();
myForm.myMethod(); //Here myMethod is your parent forms method
André Arnaud de Cal... 291,391 Super User 2024 Season 2
Martin Dráb 230,445 Most Valuable Professional
nmaenpaa 101,156