Hi guys...
I need your help again
I' ve question for you is quite easy:
i'd like to create a filed in a table which will store the lenght of each values' filed:
here is my code
Code:
Sub Lung()
Dim rst As DAO.Recordset
Dim MyString As String ' Initialize variable.
Dim MyLen As String
Dim l As Long
Set rst = CurrentDb.OpenRecordset("Accounting", dbOpenDynaset)
With rst
Do Until .EOF
.Edit
!lun = Len([SCHEMA])
.Update
.MoveNext
Loop
.Close
End With
Set rst = Nothing
End Sub
the problem here is that I don't know how to manage the identity
Code:
!lun = Len([SCHEMA])
in order to make this process wok properly.