Announcements
No record found.
Hi Friends,
Please tell me how to add new field in temp table at run time in x++.
Thanks and Regards,
Rahul
Hi Rahul.p,
Can you briefly describe your actual needs scenario?
For example, where is the new field used? Forms or other controls.
In from datasource temp table is using in temp table record is inserting into regular table.
While form is run at run time new field will add into temp table.
Please tell me how?
Hi Rahul,
You can try to use TreeNode.
Code like this:
treeNode = TreeNode::findNode(@'\\Data Dictionary\Tables\MyTembTable\'); fieldList = treeNode.AOTfindChild('fields'); fieldList.addString('Name');
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 658
André Arnaud de Cal... 495 Super User 2026 Season 1
Syed Haris Shah 315 Super User 2026 Season 1