M
MJV
I have a database built and I have a line of code to go
out and get the first two numbers typed in. I am useing
the code like this
Private Sub TxtEnter_AfterUpdate()
Dim AnyString, MyStr
AnyString = TxtEnter ' Define string.
If AnyString Then
MyStr = left(AnyString, 2) + "000" ' Returns "2".
txtSubAddress = MyStr
End If
End Sub
Well it works fine till I try it on another system. I get
a error and LEFT it highlighted.
Anyone have a clue?
out and get the first two numbers typed in. I am useing
the code like this
Private Sub TxtEnter_AfterUpdate()
Dim AnyString, MyStr
AnyString = TxtEnter ' Define string.
If AnyString Then
MyStr = left(AnyString, 2) + "000" ' Returns "2".
txtSubAddress = MyStr
End If
End Sub
Well it works fine till I try it on another system. I get
a error and LEFT it highlighted.
Anyone have a clue?