Announcements
No record found.
Hi,
I have a grid that displays data from two different tables, I'm using the args class to pass the data to another form and it works for just one table but I can't get the other data table, I tired to use select statements but just keep getting me the same value
Hi Kareem,
Can you provide more information? What exact tables are used on the first form and what should be the result when you start the second form?
Hi André ,
I have a grid in FormA it has data from SalesAgreement table and AgreementLine table, when I select line and press buttonOpenFormB I need to have the data in the record from both table, but I only managed to get the data from SalesAgreement table using args class, I couldn't get AgreementLine table data in FormB.. I managed to get the data using select statement between AgreementLine and SalesAgreement, I don't know if you can do it through args class or I'm just dreaming :D
thank anyway
You can pass only one table buffer via args.record().
But if you pass SalesAgreementLine, you always know how to fetch SalesAgreementTable, right?
Or, if you pass SalesAgreementTable, you can iterate all lines in code.
But, you can also user args.caller() to get the whole FormRun object of the caller form. Via FormRun you can access any object on the caller form. Including active records in all data sources.
The best option may be using relatedTable() method. You can see an example in CustTable.name().
thank you a lot
it's big help
thanks
I'll try it
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.
Giorgio Bonacorsi 649
André Arnaud de Cal... 447 Super User 2026 Season 1
Syed Haris Shah 242 Super User 2026 Season 1