Announcements
No record found.
Hi All,
Is it possible to copy data from one tmp table to another tmp table? I want to copy data while report runs.
Any code will be highly appreciated.
Thanks.
Regards,
Ali Sajjad
It is possible. The code would be exactly the same than when copying between normal tables. Do you know how to do that? You need to iterate the records in the source table, then copy the data and insert into the target table.
I've done the same. What I found was buf2buf() method which copies data to another table without system fields. But what happened was the report crashed as I used it. That's why I used that record by record iteration for population.
You can use buf2buf only if you copy to the same table (but another buffer). If you want to copy to another table it will not work.
Do you still have some open question? If not, please mark the helpful answer(s) as verified. Thanks!
Hi Ali,
Here is a link about copying table records:https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/227290/copying-table-records-to-duplicate-table-date-buf2buf.
In your case,I think the method 'insert_recordset' is much more suitable to you.
Best Regards,
Will
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 616
André Arnaud de Cal... 460 Super User 2026 Season 1
Syed Haris Shah 331 Super User 2026 Season 1