format
-
good day again to everyone.. someone pls help, how to come up an output like this.. "B0001".. i know its just to simple to you guyz, but its hard for me to do... its like the system will generate a code like this example... "B0001" .... its not only B0001 but it will accumumate until B0010 if the system has 10 record.. thank you in advance...
nothing is impossible.....
-
good day again to everyone.. someone pls help, how to come up an output like this.. "B0001".. i know its just to simple to you guyz, but its hard for me to do... its like the system will generate a code like this example... "B0001" .... its not only B0001 but it will accumumate until B0010 if the system has 10 record.. thank you in advance...
nothing is impossible.....
If you're using VB.NET, you can use the string.Format method to format a number to have a fixed number of digits. And, of course, put the B in front of it.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog