Click here to Skip to main content
15,890,399 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I have created Table COA

Create Table COA (Account_Code Char(19), Account_Title varchar(70))


I want to display like this

ALHOA --It is fixed
01 ---- Must Be Auto Increment and input If User comes again then it will become 02
01 ---- Auto Increment all process goes like this when click it will auto generate
01 ---- Auto Increment
01 ---- Auto Increment
01 ---- Auto Increment
0001 ---- Auto Increment Last one is transaction accounts.
I want result when it saved like this ALHOA01010101010001

Anyone have idea how can i do that.

Thanks in Advance
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900