I don't think you can change the permission of your mdb file. It's part of
the security, I think.
----- Original Message -----
From: "Siddiqui A. Ammar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 19, 2001 10:09 PM
Subject: Reading data from MSysObjects of MS-Access Database
> Hi everybody,
> I want to read data from system table (MSysObjects) of MS-Access.
> When ever I query the table exception is thrown that you don't have
> right permission's to access the object. When I change the permission's
> manually by going into the Menu- tools -security, it starts working fine.
> I would like to know how can I set permission's programmatically in java.
>
> The scenario is that the only thing available is mdb file name. I want to
> read information about the user defined tables from the data base.
> That's why I want to query MSysObjects table because information
> regarding the user define objects can be extracted from it.
> If some one knows a better solution to this problem please let
> me know, I will be greatly obliged
> Thanks
> Ammar
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html