the code below works fine if the LotNum only contain numbers. I have lotnum that also contain letters. How do I change the code below so that it allows numbers and letters.
___________________________________________________
Private Sub Form_Current()
If Me![LotNum] <> 0 Then
Me!Image160.Picture = "c:\LotNumbers\" & Me![LotNum] & ".gif"
Label162.Caption = "File: " & " c:\LotNumbers\" & Me![LotNum] & ".gif"
Else
Exit Sub
End If
___________________________________________________
Private Sub Form_Current()
If Me![LotNum] <> 0 Then
Me!Image160.Picture = "c:\LotNumbers\" & Me![LotNum] & ".gif"
Label162.Caption = "File: " & " c:\LotNumbers\" & Me![LotNum] & ".gif"
Else
Exit Sub
End If