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?
Rajeev KumarPosted Mar 14, 2023, 10:47 AM
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;
Satya KarkiPosted Apr 18, 2021, 4:39 PM
Sachin SinghPosted Apr 18, 2021, 4:25 PM
Salman BegPosted Apr 18, 2021, 3:59 PM