HOw to create multi user application using vb6 and access.
Posted on 2006-06-12
I have created a application in vb6 and access but right now this application is single user.
Now i have a need to make this multiuser.
Now wht i am doing is that i am taking all the data from the database and fill it in a recordset object and close the connection and then shows the data in the form fields (fields are unbounded). Whenever a user makes some changes in any records and clicks on the save button then i write a updte query and then exceute that query to update that particular record.
but will this functionality is ok for multiuser enviroment or I have to change in the coding still to make it multiuser.
I have found few answers related to my topic which says to apply locks and all, but in my condition i got the data in to recordset and there then there is no connectivity between the database and the application and to do operation like upate or insert or delted I am using sql queries.
SO how can i use lock in my application.
And also I also found one more answer which says to have one copy of the database on the server and one copy on the client or user machine which are linked table to the server database.
Can anybody explians me about this conecpt how will it work or wht i have to do to implement this thing into my application