Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

another update ?

Status
Not open for further replies.

thegameoflife

Programmer
Dec 5, 2001
206
US
I need to update a table based on "ID" making "ID2" from the attached code.

I'm using the code to change ID.
Code:
Private Sub Command0_Click()
    Dim a As String
    Dim i As Integer
    Dim str2 As String
        
    a = Me.ID
    
    For i = 1 To Len(a)
       str2 = str2 + Chr(Asc(Mid(a, i, 1)) + Asc("A"))
       
    Next i
    
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top