hi,
i would like to create an uniqueID where it must add +1 behind the CurrentTranxDateTime for the transaction 1 to 10....I have coded as below but the problem is the number doesnt +1 for each transaction.....any1 have idea to solve this.....
eg: 300111 01:45:29 AM 1
300111 01:45:29 AM 2
300111 01:45:29 AM 3
dim CurrentTranxDateTime as date
dim UniqueID as string
For i As Integer = 1 To 10
' UniqueID = CurrentTranxDateTime & i + 1.ToString()
UniqueID = CurrentTranxDateTime + i.ToString()
Next i