Andrew Fergus
MrExcel MVP
- Joined
- Sep 9, 2004
- Messages
- 5,462
- Office Version
- 365
- 2021
- 2016
- Platform
- Windows
Hi everyone
I have an application in VB6 that links to a local Access database. I need to change the 'Read Data' property for one of the tables within the database and cannot work out how to do this using VB6.
I can do this manually like so : within Access, click Tools > Security > User and Group Permissions > select the table > tick or untick the 'Read Data' property. However, I need to be able to do this from within the VB6 application.
Does anyone have any suggestions how to do this using VB?
I'm currently using DAO to connect to the database but if I have to change that to ADO to achieve this then that would be ok.
TIA, Andrew
P.S. I also posted this question on another forum here : http://vbaexpress.com/forum/showthread.php?t=9595
I have an application in VB6 that links to a local Access database. I need to change the 'Read Data' property for one of the tables within the database and cannot work out how to do this using VB6.
I can do this manually like so : within Access, click Tools > Security > User and Group Permissions > select the table > tick or untick the 'Read Data' property. However, I need to be able to do this from within the VB6 application.
Does anyone have any suggestions how to do this using VB?
I'm currently using DAO to connect to the database but if I have to change that to ADO to achieve this then that would be ok.
TIA, Andrew
P.S. I also posted this question on another forum here : http://vbaexpress.com/forum/showthread.php?t=9595