Hey Guys,
I am using C# and access 2007.
I am trying to to figure out whether a certain table exists in the access 2007 database.
This is the query I am using:
SELECT MSysObjects.Name, MSysObjects.Type
FROM MSysObjects
WHERE (MSysObjects.Name="MyTablName") AND (MSysObjects.Type=1);
When run from the database, it operates fine.
However, when I run it from C#, I get the "no read permission on 'MSysObjects'' error.
I tryied to change permissions, but could find where there are in access 2007.
What should I do?
p.s as I saw in other forums, I do NOT want to rewrite the code in
VB or any other language. I only know C#.
Thanks!
