Hey I am looking to create an order reference which is something like this
PLC0000001
Where the 1 would be my order id
but lets say it gets to 100 would like
PLC0000100
In VB.NET how could I build up a string like where i know i.e.
the starting part = PLC
Ending part = Order ID
middle = fill in 0’s
Is it possible for you to build the order code in SQL? You could do something like this instead:
You can change the number 7 to reflect however many leading zeros you want.
In VB.NET you could do something like this: