473,386 Members | 1,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Multi-User DB Errors

CFW
I have read as much as I could find here and in Tony's site as well -
being directed there from here. I have a three user database with a
BE .mdb (Access 2K) in a share on one PC and each user with a copy of
the same FE on their PCs.

I have pessimistic locks enabled via the Record Locks property on the
main form. This seems to work OK but the users are getting frequent
"Cannot execute the command" errors which occur because a ######### or
DELETED row seems to turn up in the BE. The users claim to be using
the record selector on the main form or subforms if it's a subform
record delete, and pressing the DELETE key and following that with a
Save Record action I put on a command button.

Is there a BEST PRACTICE to prevent as many errors as possible when
sharing the BE? I don't care if I have to lock it down so only ONE
user can edit at a time but I'm still getting other issues. TIA
Nov 12 '05 #1
1 1485
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've found that Optimistic locking works fine for all projects I've
ever worked on (greatest number of users ~150 [that doesn't mean all
were on at the same time]).

Q: Why would you have a user save a record after they've deleted a
dependent record? When the user clicks on the Record Selector of a
subform the main form's record is automatically saved (if any changes
were made). When the subform's record is deleted there is no need to
Save anything on the subform 'cuz the records gone.

The -DELETED- record display only occurs on records when someone else
deletes a record "you" are looking at. This is not a problem, unless
the user wanted to make changes to the record that got deleted, and
that would be a Business Rule problem (more like an office procedure).

In offices I've worked each person who has access to the database
usually only looks at specific records (their area of concern). The
only people who looked at all records were managers (and even they
were sometimes restricted to certain "regions" of data). Managers
usually did not mess around w/ data w/o informing the concerned data
entry op, who handled that specific data, that they were going to do
something. More often the manager just told the DE op to "do
something" to the records. This communication (office procedure)
alleviated a lot of suprises for the DE ops.

HTH,

MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQADjkIechKqOuFEgEQJaQACdEiPV6nhieK3Z7aaV4itaJP yc4EwAoKp0
4+HfxJ1frgLr0sP/bAAINNMT
=z0sj
-----END PGP SIGNATURE-----
CFW wrote:
I have read as much as I could find here and in Tony's site as well -
being directed there from here. I have a three user database with a
BE .mdb (Access 2K) in a share on one PC and each user with a copy of
the same FE on their PCs.

I have pessimistic locks enabled via the Record Locks property on the
main form. This seems to work OK but the users are getting frequent
"Cannot execute the command" errors which occur because a ######### or
DELETED row seems to turn up in the BE. The users claim to be using
the record selector on the main form or subforms if it's a subform
record delete, and pressing the DELETE key and following that with a
Save Record action I put on a command button.

Is there a BEST PRACTICE to prevent as many errors as possible when
sharing the BE? I don't care if I have to lock it down so only ONE
user can edit at a time but I'm still getting other issues. TIA


Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
by: ajikoe | last post by:
Hello, Is anyone has experiance in running python code to run multi thread parallel in multi processor. Is it possible ? Can python manage which cpu shoud do every thread? Sincerely Yours,...
4
by: Frank Jona | last post by:
Intellisense with C# and a multi-file assembly is not working. With VB.NET it is working. Is there a fix availible? We're using VisualStudio 2003 Regards Frank
12
by: * ProteanThread * | last post by:
but depends upon the clique: ...
0
by: frankenberry | last post by:
I have multi-page tiff files. I need to extract individual frames from the multi-page tiffs and save them as single-page tiffs. 95% of the time I receive multi-page tiffs containing 1 or more black...
6
by: cody | last post by:
What are multi file assemblies good for? What are the advantages of using multiple assemblies (A.DLL+B.DLL) vs. a single multi file assembly (A.DLL+A.NETMODULE)?
6
by: Joe | last post by:
I have 2 multi-list boxes, 1 displays course categories based on a table called CATEGORIES. This table has 2 fields CATEGORY_ID, CATEGORY_NAME The other multi-list box displays courses based on...
4
by: mimmo | last post by:
Hi! I should convert the accented letters of a string in the correspondent letters not accented. But when I compile with -Wall it give me: warning: multi-character character constant Do the...
5
by: Shane Story | last post by:
I can seem to get the dimensions of a frame in a multiframe tiff. After selecting activeframe, the Width/Height is still really much larger than the page's actual dimensions. When I split a...
0
by: Sabri.Pllana | last post by:
We apologize if you receive multiple copies of this call for papers. *********************************************************************** 2008 International Workshop on Multi-Core Computing...
1
by: mknoll217 | last post by:
I am recieving this error from my code: The multi-part identifier "PAR.UniqueID" could not be bound. The multi-part identifier "Salary.UniqueID" could not be bound. The multi-part identifier...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.