Dear all
I'm now screwed out here :
I want to increment a number in format
(1) 0000010 to 99
(2) 0000100 to 199
(5) 0000200 to 299
ETC
I have tried to use the primary key but its considering the zeros
I'm now screwed out here :
I want to increment a number in format
(1) 0000010 to 99
(2) 0000100 to 199
(5) 0000200 to 299
ETC
I have tried to use the primary key but its considering the zeros
Code:
Private Sub itemTyCd_AfterUpdate()
Me.itemCd = Ctri("000000") & Me.ProductID
End Sub