Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Folder Permissions

Status
Not open for further replies.

Uriel365

Programmer
Dec 18, 2001
37
GB
Good morning/afternoon/evening/night (depending on where you are in the world)

I have a simple database that has, as one of its features, the abilty to create a set of folders for the users to store subsidiary data. What I would like to do is assign read only permission to these folders using VBA. Is this possible ? I have only been able to find help on assigning specific properties to a file.

Any help would be gratefully appreciated.

 
Look at the Access VBA statement SetAttr.
The syntax is SetAttr pathname, attributes

Pathname can be a file or a folder.
 
Thank you very much I did scan that quickly but obviously did not want to see what was infront of me. I like to make things more difficult than they are !!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top