Click here to Skip to main content
15,899,026 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Every One

I am create invoice system but my problem is when i create Bill number in new financial year my bill number is continue to last year . i don't continue last number i start from 1 number.

Please solve it my problem.. ASPS

if possible to solveing at Sql Server Database side...
Posted

1 solution

Just store somehow your 'last year bill number' (or simply your 'last bill number') and increment it. It doesn't look a daunting task.
 
Share this answer
 
Comments
Giletwala Dhaval 9-Sep-13 3:11am    
Thanks for u r reply
But When start new financial year My bill number is generate From One number
CPallini 9-Sep-13 3:17am    
That's because, at the moment, your code is wrong. However, nothing prevents you in fixing it.

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