Hi,
I need to copy the gallery records and make a new record.this process same gallery.
I written below code in copy icon
Set(selected1,'Add Gallery_11'.Selected);
Patch(Addnew,Defaults(Addnew),
{
DateandTime:selected1.DateandTime,
Hours:selected1.Hours,
Description:selected1.Description,
ExtendedHour:selected1.ExtendedHour,
Project:selected1.Project
})
In this project and task are lookup fields and hour type is choice column.
when user select copy button make a new with copied record values how can achieve thisone.
please help with correct code.
Thanks in advance...!!!!

Report
All responses (
Answers (