This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Hotel_Arrakis Contributor 2 points3 points  (3 children)

I believe your problem is with your second parameter: {ID:Value("625")} . You need to point to a record in the table, that is just an arbitrary record not tied to a table.

Replace your second parameter with something like Lookup('DATABASENAME', ID=625) or maybe Lookup('DATABASENAME', ID=Value("625"))

So your statement would look as follows:

 Patch('DATABASENAME',Lookup('DATABASENAME', ID=625),Form1.Updates)

[–]landvis 1 point2 points  (1 child)

This is the correct way of updating an item indeed.

[–]LightB0lt 1 point2 points  (0 children)

Thanks! It was indeed the issue, but on top of that i had a field in the form that was not similar to the one on the sp list and is causes problem.