Hi guys,
I have searched through a lot of previous posts for an answer but can't seem to find what im looking for.
I am working on an existing application that is accessing an Access DB through VB with DAO. When the application starts the first thing it does is to open every Access table via recordsets (upwards of 40 tables). This application is now going to be used by more than one user and i am trying to implemet record locking. What I need to know is if there is a way of locking a recordset after it has been opened or else is there a specific way of locking at the same time as opening. Idealy what I would like to do is when a form opens, lock every recordset that that form uses and unlock when the form closes. I realise that this is a pretty broad question but i can't seem to find a straight "How to" on the subject. Has anyone got some words of wisdom or can anyone point me where i will find some!
Thanks in advance
Erin
I have searched through a lot of previous posts for an answer but can't seem to find what im looking for.
I am working on an existing application that is accessing an Access DB through VB with DAO. When the application starts the first thing it does is to open every Access table via recordsets (upwards of 40 tables). This application is now going to be used by more than one user and i am trying to implemet record locking. What I need to know is if there is a way of locking a recordset after it has been opened or else is there a specific way of locking at the same time as opening. Idealy what I would like to do is when a form opens, lock every recordset that that form uses and unlock when the form closes. I realise that this is a pretty broad question but i can't seem to find a straight "How to" on the subject. Has anyone got some words of wisdom or can anyone point me where i will find some!
Thanks in advance
Erin