Hello,
I have a project that requires me to copy an existing and completed record with attachments and submit it as new Request, means the existing old attachments must be included also.
I was able to solve the problem by using New Form instead of Edit form but having a problem with the attachments.
I was not able to save the existing attachments to the new record; If I added new attachments and it will only save the new attachments to the new record not the old existing once.
I tried using a separate form for attachment and used this code
Patch(Database, ThisRecord.LastSubmit, Form.Update);
But it is still not working.
My question is how can I save the old existing attachments when I copy the old record to re-submit them as new?