Hi,
I want to Increment id when i insert a records CNIP as starting
ex:
CNIP 1001
CNIP 1002
CNIP 1003.............................like This Please help me urgent
Hi,
I want to Increment id when i insert a records CNIP as starting
ex:
CNIP 1001
CNIP 1002
CNIP 1003.............................like This Please help me urgent
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vijay YadavRank #1,637 · 943 reputationPosted Mar 17, 2011, 5:15 AM EDT
As far as i have implement this type of format, i would suggest do this through coding i.e. increment the autonum field by your logic.:)
Guest UserRank #1,422 · 1.2K reputationPosted Mar 17, 2011, 5:16 AM EDT
Vijay YadavRank #1,637 · 943 reputationPosted Mar 17, 2011, 5:22 AM EDT
Guest UserRank #1,422 · 1.2K reputationPosted Mar 17, 2011, 5:27 AM EDT
int identityValue = (retrieve field value from resultset);
string fullId = "CNIP" + identityValue;
Vijay YadavRank #1,637 · 943 reputationPosted Mar 17, 2011, 5:30 AM EDT