Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 15th, 2006, 12:54 AM
Authorized User
Join Date: Sep 2006
Location: , , Australia.
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


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


Reply With Quote
  #2 (permalink)  
Old September 15th, 2006, 01:04 AM
Friend of Wrox
Join Date: Oct 2004
Location: Clinton, UT, USA.
Posts: 564
Thanks: 0
Thanked 4 Times in 4 Posts

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.


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.

Reply With Quote
  #3 (permalink)  
Old September 15th, 2006, 11:09 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts

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.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 11:55 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.