Private Function ShowChar()
Dim dbs As DAO.Database
Dim rs As DAO.Recordset
Dim x As Integer
On Error GoTo HandleErr
Set dbs = CurrentDb()
Set rs = dbs.OpenRecordset("Select * from Table1", dbOpenDynaset)
With rs
For x = 0 To 255
.AddNew
.Fields(0).Value = x
.Fields(1).Value = Chr(x)
.Update
Next x
End With
Set rs = Nothing
Set dbs = Nothing
End Function