Modifying security using Sql (1 Viewer)

Rob.Mills

Registered User.
Local time
Today, 01:29
Joined
Aug 29, 2002
Messages
871
Is it possible in access to modify user permissions with SQL?
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 01:29
Joined
Feb 19, 2002
Messages
43,371
No. SQL can only be used against tables. You will need to write VBA to manipulate the Access object model.
 

Rob.Mills

Registered User.
Local time
Today, 01:29
Joined
Aug 29, 2002
Messages
871
Pat Hartman said:
No. SQL can only be used against tables. You will need to write VBA to manipulate the Access object model.

Actually, I found out since I created this thread, that you can but you have to execute the sql through ADO. Why, I don't know, but it did work.
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 01:29
Joined
Feb 19, 2002
Messages
43,371
I assumed you were talking about securing the Access object model. My statement wasn't clear. Yes, SQL includes the ability to use queries to modify table security.
 

Users who are viewing this thread

Top Bottom