Hey there! Help me pls with the code. I have a form for adding data and I need 1 data when adding to count as +1. Well, let's say I have 4 records. The user wants to add an entry without knowing what code to enter. I need it to automatically count it to 5. When adding another record, the code will already be 6. How can this be called?

Sachin SinghRank #66 · 26.2K reputationPosted Apr 18, 2021, 12:25 PM EDT
Satya KarkiRank #78 · 24.6K reputationPosted Apr 18, 2021, 12:39 PM EDT
Rajeev KumarRank #1,334 · 1.3K reputationPosted Mar 14, 2023, 6:47 AM EDT
You can use Identity in Column Field .Set Identity (ArticleId) and set value Seed and Increment is 1.
var ArticleId1= select max(ArticleId) from Articlrmaster
var newId = ArticleId1+1;
Salman BegRank #284 · 8.8K reputationPosted Apr 18, 2021, 11:59 AM EDT