Question 2 Replies 1442 Views × Close popover V S S PRUDHVI KRISHNA SAGUTURU (VSSPRUDHVIKRISHNS) Areteans Areteans IN View Profile Send Message VSSPRUDHVIKRISHNS Member since 2017 3 posts Areteans Posted: October 24, 2018 Last activity: November 21, 2018 Posted: 24 Oct 2018 7:57 EDT Last activity: 21 Nov 2018 0:58 EST Closed Automatically Increment Of Key in Datatype Hi All, I have a requirement like "when we click on the 'add record' link in records tab in datatype, then key-Id should increment and when we delete the record key-Id decrement accordingly. Thanks and regards, Prudhvi ***Edited by Moderator: Pallavi to update platform capability tags*** Enterprise Application Development Dev/Designer Studio Reporting Share × Close popover Facebook Twitter Linkedin Email Copy Link Copied! Moderation Team has archived post, learn more × Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 2 years ago Posted: 7 Nov 2018 23:37 EST × Close popover Hepsiba Komati (komah) PEGA Technical Solutions Engineer Pegasystems Inc. IN View Profile Send Message komah PEGA replied to VSSPRUDHVIKRISHNS Hi, Thanks for posting on PSC. Kindly look into below links which might be helpful. https://community1.pega.com/community/pega-product-support/question/increment-primary-key-data-table https://community1.pega.com/community/product-support/question/how-perform-auto-increment-external-db-table-primary-key Thank you Posted: 2 years ago Posted: 21 Nov 2018 0:58 EST × Close popover V S S PRUDHVI KRISHNA SAGUTURU (VSSPRUDHVIKRISHNS) Areteans Areteans IN View Profile Send Message VSSPRUDHVIKRISHNS Areteans replied to VSSPRUDHVIKRISHNS hi komah For increment we can do as mentioned in above links, but when a record is deleted from the data-page the value from there should decrement. Thank you.