Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 15th, 2006, 12:54 AM
Authorized User
 
Join Date: Sep 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Simultaneous Entries (locking data)

Hey everyone,

is it possible to have one person one computer entering data, and have another person on another computer enter data in the same table at the same time
i have in place an automattic order number

e.g:

User1 opens order form
Enters data in record with auto order number 1234

User2 opens order form
next record opens with auto order number 1235
and is able to enter data at the same time as User1

any help would be much appreciated

cheers
Shane

 
Old September 15th, 2006, 01:04 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 564
Thanks: 0
Thanked 4 Times in 4 Posts
Default

I am sure there are additional factors to consider, but if you split your database, then Access should take care of this for you.

Basically splitting the database, breaks it into 2 parts. 1 has your data and is the Back-End. The other has your tables, and what you end up having is a little Client-Server type application.

Hope that helps.

Mike

P.S. The more users that you have, the greater the potential for corruption. When you get up around 10 (I believe) it is time to migrate to SQL Server or something similar.

Mike
EchoVue.com
 
Old September 15th, 2006, 11:09 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Another solution would be to store the records locally, like on MSDE, and then push completed records to an Access file as the transactions were committed.

Anywho, conventional wisdon is what echovue says. Split the database to avoid record locking issues for the most part.

SQL will still give you record locking issues, but it has finer control.

mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
user id during data entries mateenmohd Access 11 January 15th, 2008 12:17 AM
Simultaneous file write jmjlm VBScript 4 May 25th, 2007 04:41 PM
how to execute the cursor for online data entries madhuri.sirsat SQL Server 2000 2 April 13th, 2005 11:03 PM
How can I do simultaneous scrolling of 2 wnd? Sonin Nickolay Visual C++ 1 August 21st, 2003 04:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.