Public Function Readtbl()
Dim dbs As DAO.Database
Dim rs As DAO.Recordset
Dim strSQL As String
Dim astrStore() As String
Dim x, intMax As Long ' Counter
Set dbs = CurrentDb()
strSQL = "Select * from tblName"
Set rs = dbs.OpenRecordset(strSQL, dbOpenSnapshot)
With rs
.MoveLast
intMax = .RecordCount
ReDim astrStore(intMax)
.MoveFirst
x = 1
Do Until rs.EOF
astrStore(x) = .Fields(0).Value 'First Column is Zero
'strarrStore(x) = !SpecificFieldName 'Normal way of referencing fields
x = x + 1
.MoveNext
Loop
End With
Set rs = Nothing
Set dbs = Nothing
End Function