RE: UpdateRow error in SQL Mark XY Brown 10.Jun.13 09:10 AM a Web browser General All ReleasesAll Platforms
I would drop the following line:
Call result.SetValue("PID", doc.PersonID(0))
You already know that the PID of the SQL record that you've retrieved matches the PersonID of the current document - otherwise, you wouldn't be executing this section of code. Also, updating the key value in SQL databases (assuming that PID is a key value) is generally not a good idea, even if you are updating it to the value that it currently has!