I am wanting to copy the records for the previous day into the currently selected day. The current patch statement to create a record is below, I cannot figure out how to reference the records in the prior date and copy to new date when the copy icon is selected. Does anyone have any suggestions / pointers?
This is comprised of a horizontal and nested vertical gallery.
Horizontal Gallery: Date_Gallery
Nested Vertical Gallery: Capacity_Detail_Gallery
When the + Icon is selected it creates a new record for selected values from the galleries in the image:
Patch(
'CAPACITY DETAIL TRACKERS',
Defaults('CAPACITY DETAIL TRACKERS'),
{'Capacity Main LookUp': Project_List_Gallery.Selected},
{'Capacity Date LookUp': Date_Gallery.Selected},
{'Capacity Resource LookUp':Resource_Gallery.Selected},
{'Capacity Value': 'Capacity Value (CAPACITY DETAIL TRACKERS)'.'0'}
);
Notify(First(Errors('CAPACITY DETAIL TRACKERS')).Message);

Report
All responses (
Answers (