Hi,
1. I have one unbound textbox on a form (Text62).
2.The another textbox on a form is (Text60) & the control source is =Left([List22].[Column](0),2)
3. The third textbox on a form is (Text24) & the control source is =Left([List22].[Column](0),5) & [Text62] & Right([List22].[Column](0),4)+1
Now, I am using below code to call the number in 4 digit format from Text62 in VBA.I need number format which I think I am not able to give the expression after (me.text62= ?????)
If I give "00" it is working fine starting from 0100 but when I change the start value 0001 the answer is 00-01 & giving VB error.
Can anyone advice.
1. I have one unbound textbox on a form (Text62).
2.The another textbox on a form is (Text60) & the control source is =Left([List22].[Column](0),2)
3. The third textbox on a form is (Text24) & the control source is =Left([List22].[Column](0),5) & [Text62] & Right([List22].[Column](0),4)+1
Now, I am using below code to call the number in 4 digit format from Text62 in VBA.I need number format which I think I am not able to give the expression after (me.text62= ?????)
If I give "00" it is working fine starting from 0100 but when I change the start value 0001 the answer is 00-01 & giving VB error.
Can anyone advice.
Code:
Private Sub List22_DblClick(Cancel As Integer)
Select Case Text60
Case "BD"
Me.Text62 = "00"
End Select
Me.BVCode = Me.Text24
Comment