Announcements
No record found.
Hi everyone;
I want read other form's datasource's selected record info. But i can't.
*This post is locked for comments
Are you sure you are getting something in the args().record() and if you are it is the same type? You should make a check before like:
if (element.args() && element.args().dataset() == tableNum(Your_table))
{ do assign }
Hi Iulian;
I did what you said but i failed. What can I do to read the selected record in the data sources in different forms .
To catch a record from other form
if you call one form from another, setup dataSource propierty in the button that you use to call the new form and then in your new form use element.args.record to cath it.
Could you explain what you mean by "I did what you said but i failed"?
Using a compatible type is always possible and you didn't give us enough information about why you failed, so we can't tell you how to fix it.
if(element.args() &&
element.args().record() &&
elements().record().tablid == Tablenum(ProjVendPaymentTable)
{
_buzEhaProjVendPaymentTable= element.args().record() as ProjVendPaymentTable;
}
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CP04-islander 39
Michel ROY 14
imran ul haq 8