Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi friends,
i have a requirement in which i have a,
Field name PO No. & its format is like(DSCL-mm-yy / Kit 01)
in which DSCL is fixed
mm-stands for month
yy-stands for year
kit is the name of item,it is fixed
01 is the PO Number which will get incremented by 1 as the PO are generated.
my query is how to restart the PO number once the Current financial year(april 2012-march 2013) gets close and new begins.
how to get the following pattern

pl reply!

Regards,
Aamir
Posted
Comments
ZurdoDev 2-Jul-12 8:13am    
How? You write code to do it. What part exactly are you stuck on?
Sanjay Kunjam 2-Jul-12 8:27am    
What type of input/data you have?
and what output you exactly want?
Please clear your question.
dimpledevani 2-Jul-12 8:44am    
you have both month and year, so before entering value in your database, compare them with distinct values and if it doesnt match then reset your value

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