I have two SharePoint lists (A & B). List A holds some data that users enter into the list. List B is displayed on the gallery of my app, which has a button. When a user clicks on this button, I want to update the last entry the user created in List A, with some data from the columns in List B.
First I am trying to identify the last entry the user made into list A. For that I am doing something like this...
Lookup(Sort('list A', ID, SortOrder.Descending), 'Modified By'.Email = User().Email).IDso far, I think that is doing what it should. If there is a better way to identify that item, I am open to learning.
Now I am trying to figure out how to update that item with the data from list B. I don't know of a where clause or how to construct the where syntax. So far, my inaccurate patch looks like...
Patch('list A', {Column1: ThisItem.col1, Column2:col2})How do I accomplish this? Thanks

Report
All responses (
Answers (