Dear All,
Year - Srl
I am creating a employee master form and i want to auto generate the PIN Number (personal identification number) i.e. EMP-1516-00001. in C# Vs2010
Database i am using MS Access 2007.
Can Anybody help , Thanks in Advance
Regards
Puneet Ahooja

Arun Kumar41 reputationPosted Nov 24, 2015, 9:29 PM EST
Mohammad AmanRank #4,571 · 337 reputationPosted Nov 24, 2015, 7:52 PM EST
ORselect 'FHMS' + max(SUBSTRING ( employeeId ,5 , 5 ))+1 as nextkey from employeemasterI hope This is the query you are looking forpuneet ahooja61 reputationPosted Nov 24, 2015, 8:43 PM EST
Mohammad AmanRank #4,571 · 337 reputationPosted Nov 24, 2015, 8:52 PM EST
siva M3 reputationPosted Mar 21, 2016, 4:35 AM EDT