i have one form(SharePointForm1) for creating new items and editing items in one screen. i'm hoping i can get the correct approach to retrieving the lD of last submitted item by the current user.
i have read in a couple of articles that you can only get the LastSubmitID from an edit form, which confuses me a little bit.
OnNew
NewForm(SharePointForm1)
OnSave
SubmitForm(SharePointForm1);
Set(varLastSubmittedItem,SharePointForm1.LastSubmit.ID);
i get the ID sometimes, i'm just not sure if this is the right way to do this. And also how to ensure that SharePointForm1 is an EditForm