Reply from Subhashish on May 11 at 6:13 AM Use &Rec.Save() in an if-else block. This will serve the purpose of Inserting and updating at the same time. That way you can avoid concurrency issues as well very easily.
| | | ---------------Original Message--------------- From: Vedir90 Sent: Monday, May 07, 2012 2:48 PM Subject: Updating a Rowset Hi all, I have the following code as a part of my peoplecode. If &rsPref(1).RECORD_NAME.Insert() = False Then &rsPref(1).RECORD_NAME.Update(); End-If; Even though I give false to the rowset insert, values are getting inserted rather than updating the existing values. Please suggest me a solution to overcome the problem. With Thanks and Regards. | | Reply to this email to post your response. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |
No comments:
Post a Comment