If i click the button, the selected line value(record) in the Grid should be inserted as new record
If i click the button then selected line should be split as two record(Based on the Table numeric Field value(If that Field value = 5 means, after divided the first record that Field value = 3 and another one will be 2.
How to achieve this 2 solution....?
*This post is locked for comments
Hi Mummad,
in the click button you can use the code below and in the example I use ItemGroup
ItemGroup newItemGroup;
buf2buf(selectedItemGroup, newItemGroup) // selectedItemGroup is form data source
newItemGroup.GroupId = 'NewId';
newItemGroup.insert();
Hi Bilal,
Duplicate record should be saved in same table only. the above two process done in same table.
Can u expalin little bit more...?
Regards,
Muhammad Haaris.
Hi ,
you can use Buf2Buf(origRecord,NewRecord) , then change the field you want in the new record.
Regards,
Bilal
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156