Re: strategy for record locking in multiuser environment
From: Brian Bushay TeamB (BBushay_at_Nmpls.com)
Date: 05/03/04
- Previous message: Daryl: "Looking for advice on retrieval and storage of large amounts of text"
- In reply to: steve: "Re: strategy for record locking in multiuser environment"
- Next in thread: newsgroups.borland.com: "Re: strategy for record locking in multiuser environment"
- Reply: newsgroups.borland.com: "Re: strategy for record locking in multiuser environment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 02 May 2004 23:24:52 -0500
>I am using an Access 2000 database
>How is the best way to control record locking so that 1 user doesn't
>overwrite another users entries and so each user can see the changes or
>additions made by other users
Access default is optimistic locking and it does't do pessimistic locking well
so you probably want to stay with optimistic locking.
Optimistic locking will give you a message when you try to save a record if
another user has made changes to that record while you have been editing it.
>If a user edits or adds to a record is there an event triggered within the
>recordset or connection objects which notifies a copy of my program
>currently open on a PC, that changes have been applied to the database
>table?
NO
> I am using a CursorType = adOpenDynamic
> LockType = adLockOptimistic
If you are using these settings along with serverside cursor and TableDirect =
true you will get some updating of the record when other users change it
although it won't be immediate.
-- Brian Bushay (TeamB) Bbushay@NMPLS.com
- Previous message: Daryl: "Looking for advice on retrieval and storage of large amounts of text"
- In reply to: steve: "Re: strategy for record locking in multiuser environment"
- Next in thread: newsgroups.borland.com: "Re: strategy for record locking in multiuser environment"
- Reply: newsgroups.borland.com: "Re: strategy for record locking in multiuser environment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|