I have a form where I am displaying string data in a text box. I tried using a command button with the following code from vb to strip the first two characters and display the result in a second textbox:
Dim strImagenumber As String
' StripLeftNCharacters("123456789", 3) = "456789"
strImagenumber = StripLeftNCharacters(Me.Text454.VALUE, 2)
Me.Text629.VALUE = strImagenumber
Does access use the vb function "StripLeftNCharacters", if it does is my syntax wrong, and if it doesn't what is the correct code?
Thanks, Russ
Dim strImagenumber As String
' StripLeftNCharacters("123456789", 3) = "456789"
strImagenumber = StripLeftNCharacters(Me.Text454.VALUE, 2)
Me.Text629.VALUE = strImagenumber
Does access use the vb function "StripLeftNCharacters", if it does is my syntax wrong, and if it doesn't what is the correct code?
Thanks, Russ