Hi,
I created a table style gallery that contains a button to duplicate a record.
All works well, but when I run the OnSelect, it takes me to the original record in the form, not the copied record.
So my question is, how do I find and navigate to the copied record (=highest ID) so I can edit the copy?
My current OnSelect of the button:
Patch('MySharepointList',Defaults('MySharepointList'),{Title:ThisItem.'MyTitle'});
Set(SelectedItem, ThisItem);
Navigate('New order')
I tried the functions Last and Max but couldn't get it to work, any help would be great.
Thanks in advance!!