![[3eyes] [3eyes] [3eyes]](/data/assets/smilies/3eyes.gif)
Seeking your valuable advice again. I need to get a list of table names from my Access97 database. I am using dbExpress components to access the database from Delphi6.
I have the query:
Code:
SELECT Name FROM MSysObjects where Type = 1 AND NAME NOT IN ("MSysObjects","MSysACEs","MSysQueries","MSysRelationships","MSysAccessObjects")
This query works fine in the Access Query Builder.
When I try and use this query in my Delphi program I get:
"MSysObjects: no read permissions for ADO"
Does anyone know how I can get around this permissions problem?
Or is there a better way to get a list of table names?
Thanks for your help.
Tim
SNL Computing