Question:
I inserted a new row in a table with Identity column, and saved it by calling update function. Then I immediatly tried to modify this record and update again. The powerbuilder always raises the error “Row changed between retrieve and update,” and identity column for that row will have NULL value.
Answer:
Yes, when you perform the first insert you need to get the identity column value and reretrieve the data. The identity column value will be in the transaction SQLReturnData property. Use this value to reretrieve your datawindwo before updating it a second time.