0
Duplicate several records in table
I would like to duplicate records in a table meeting the condition of having the same value in a field (order number). This value has to be change with a new one coming from the table that is executing the process.
Thanks
2 replies
-
Try this:
let old := 'old order number';
let new := 'new order number';
let t := (select 'Orders Table')['order number' = old];
for i in t do
let d := duplicate(i);
d.('order number' := new)
end
-
Thanks!!! It is now working as you show
Content aside
- 4 yrs agoLast active
- 2Replies
- 441Views