B
benatom
I am attempting to get a list of table names from an Access database.
If I try to open this recordset:
Set db = OpenDatabase("C:\DataFolder\Data.mdb)
Set rs1 = db.OpenRecordset("Select Name, Type From MSysObjects WHERE
Type = 1 AND FLAGS = 0 ORDER BY Name;")
I get this message:
Record(s) cannot be read; no read permission on 'MSysObjects'
Can I do what I'm trying to do, or is there a better way?
If I try to open this recordset:
Set db = OpenDatabase("C:\DataFolder\Data.mdb)
Set rs1 = db.OpenRecordset("Select Name, Type From MSysObjects WHERE
Type = 1 AND FLAGS = 0 ORDER BY Name;")
I get this message:
Record(s) cannot be read; no read permission on 'MSysObjects'
Can I do what I'm trying to do, or is there a better way?