Transaction Number
-
hi... i have a problem regarding my transaction number... i make it a randomized one, but what i really want is to make it a... example: my transaction number now is 000121 then after that transaction it will automatically turn into 000122... is that posible. could you teach me how... THANKS Chill out!!! :)
-
hi... i have a problem regarding my transaction number... i make it a randomized one, but what i really want is to make it a... example: my transaction number now is 000121 then after that transaction it will automatically turn into 000122... is that posible. could you teach me how... THANKS Chill out!!! :)
What kind of transaction are you talking about? SQL transactions? System.Transactions? Client/server transactions?
-
hi... i have a problem regarding my transaction number... i make it a randomized one, but what i really want is to make it a... example: my transaction number now is 000121 then after that transaction it will automatically turn into 000122... is that posible. could you teach me how... THANKS Chill out!!! :)
So what you want to do is to auto increment the transactions number, with the transaction number being a variable within your code. If I understand correctly. Do you only use the app or do you use sql with your app? I would say that if its just within your app the best would be int trans = 0; Number++; or if you use sql you can set that each new entry must be unique and auto increment where you can specify the starting point and the amount with wich to increment.