How to Increment ?
-
In my Project Employee Id is in the form ABC123... I have to increment one by one while registering....Send Code Thanks in Advance:rose:
-
In my Project Employee Id is in the form ABC123... I have to increment one by one while registering....Send Code Thanks in Advance:rose:
Kasi Viswanathan wrote:
Send Code
You must be joking. If the ID is not purely numeric, you need to parse out the numeric portion, increment it, and put it back.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Kasi Viswanathan wrote:
Send Code
You must be joking. If the ID is not purely numeric, you need to parse out the numeric portion, increment it, and put it back.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Or use Base36 calculation and just add 1 unless the first three chars require to be 'ABC'. Anyway.... :doh:
Please vote my message! Click on one of the numbers beside 'Rate this message'. .: I love it when a plan comes together :. http://www.zonderpunt.nl
-
In my Project Employee Id is in the form ABC123... I have to increment one by one while registering....Send Code Thanks in Advance:rose:
-
In my Project Employee Id is in the form ABC123... I have to increment one by one while registering....Send Code Thanks in Advance:rose:
-
I looked at some of your previous posts and you keep demanding we send you the code. This site is for people who want to learn.
__________________________ Don't drink and derive. Alcohol and calculus don't mix.
leckey wrote:
looked at some of your previous posts and you keep demanding we send you the code.
Even if he was polite and said "Please" , I still wouldn't give out any serious code ;P
"Try asking what you want to know, rather than asking a question whose answer you know." - Christian Graus
-
Kasi Viswanathan wrote:
Send Code
You must be joking. If the ID is not purely numeric, you need to parse out the numeric portion, increment it, and put it back.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
But this is not a joke...Tanx for ur Suggession.
-
Or use Base36 calculation and just add 1 unless the first three chars require to be 'ABC'. Anyway.... :doh:
Please vote my message! Click on one of the numbers beside 'Rate this message'. .: I love it when a plan comes together :. http://www.zonderpunt.nl
Tanx for ur suggession...
-
I looked at some of your previous posts and you keep demanding we send you the code. This site is for people who want to learn.
__________________________ Don't drink and derive. Alcohol and calculus don't mix.
This site is for people to learn and not to comment others....:laugh::laugh::laugh:
-
leckey wrote:
looked at some of your previous posts and you keep demanding we send you the code.
Even if he was polite and said "Please" , I still wouldn't give out any serious code ;P
"Try asking what you want to know, rather than asking a question whose answer you know." - Christian Graus
Empty Vessels Makes More Noise...:laugh::laugh::laugh:
-
Kasi, If you dont understand. People in forum here help each other. This is no way of asking it. Try to be more nice. Cheers Menon
Sure i will try my level best in future...Tanx:rose: