473,774 Members | 2,275 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Multiple users changing the same record

Two questions:

1) I have a scheduling application (Access 2002) that allows multiple
staff members to edit notes on their meetings and appointments from
their offices. A receptionist views a limited dataset of all of their
appointments and changes the status of an appointment to "Show" as
clients come in the door. She keeps a form open all day that lists that
day's appointments for all staff in chronological order.

Once in a while, while a staff person is editing a record of an
appointment, the receptionist changes the appointment status (using a
button on the form, which runs some code to modify the field). When the
staff person tries to save their notes, Access warns them that someone
else has changed the record. Most of the time, they click the wrong
button and lose their notes...

Is there a way to prevent the receptionist from changing the
appointment record if it is currently being edited by one of the staff?

in Advanced options:
"Default record locking" is 'no locks'
"Open database using record level locking" is checked

2) When I run the built in Access spell checker on a form it runs
through to the next record in the dataset for the form. Is there a way
to keep the spell checker from jumping to the next record?

Thanks in advance!
Jim

Nov 13 '05 #1
4 2297
On 13 Feb 2005 14:55:30 -0800, "Jim M" <ma*****@rci.ru tgers.edu>
wrote:

Q1: I would run an update query upon the receptionist's button click,
and then refresh the form to view changes. This update query is very
unlikely to cause a collision, but if it does, good error handling can
go to sleep for a few hundred milliseconds and try again.
That calendar form should probably auto-refresh every few minutes
anyway, to show any changes made by others.

Q2: set the Form's Cycle property to "Current Record"

-Tom.

Two questions:

1) I have a scheduling application (Access 2002) that allows multiple
staff members to edit notes on their meetings and appointments from
their offices. A receptionist views a limited dataset of all of their
appointments and changes the status of an appointment to "Show" as
clients come in the door. She keeps a form open all day that lists that
day's appointments for all staff in chronological order.

Once in a while, while a staff person is editing a record of an
appointment, the receptionist changes the appointment status (using a
button on the form, which runs some code to modify the field). When the
staff person tries to save their notes, Access warns them that someone
else has changed the record. Most of the time, they click the wrong
button and lose their notes...

Is there a way to prevent the receptionist from changing the
appointment record if it is currently being edited by one of the staff?

in Advanced options:
"Default record locking" is 'no locks'
"Open database using record level locking" is checked

2) When I run the built in Access spell checker on a form it runs
through to the next record in the dataset for the form. Is there a way
to keep the spell checker from jumping to the next record?

Thanks in advance!
Jim


Nov 13 '05 #2
Thank you for your help. The query is a good idea. As you suggest, I do
use an autorefresh on the timer evey minute or so. I just use
"me.requery ". Would I be better off with "me.refresh ". I'm not sure I
fully understand the difference.

It would be easy to use an update query. I use that in other places and
have good results with it. One question related to that: The staff
person may have the record open for quite a long time (editing a note).
If the receptionist tries to run the query then, what will happen?
(Generally speaking the receptionist should change the record before
the staff even opens it, but once in a while...)

Jim

Nov 13 '05 #3
Thanks! I'll check that out.
jim

Nov 13 '05 #4
On 13 Feb 2005 17:45:01 -0800, "Jim M" <ma*****@rci.ru tgers.edu>
wrote:

Read up optimistic locking. The record is only locked for the brief
moment when the changes are committed (NOT for as long as the pencil
is showing).

-Tom.

Thank you for your help. The query is a good idea. As you suggest, I do
use an autorefresh on the timer evey minute or so. I just use
"me.requery" . Would I be better off with "me.refresh ". I'm not sure I
fully understand the difference.

It would be easy to use an update query. I use that in other places and
have good results with it. One question related to that: The staff
person may have the record open for quite a long time (editing a note).
If the receptionist tries to run the query then, what will happen?
(Generally speaking the receptionist should change the record before
the staff even opens it, but once in a while...)

Jim


Nov 13 '05 #5

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

Similar topics

1
4608
by: bdj | last post by:
Hello! Can anyone tell me where to read more about best practices about this: Should I put data in a seperate scheme for tables, packages in anoter schema and create a lot of users that have access to (some) packages. When the tables are in anoter schema than the packages, where should the table-API (generated from Designer) be?
6
1853
by: Gerry Abbott | last post by:
Hi all, Have written some code to limit the concurrent users of a database. Use the Autoexec macro to open a form. When the form opens it increments a value in a table. When the form closes (i.e. when the database closes, then the number in the table is decremented. I plan to use this on a front/back end setup, with a number of front end users on the network. What i'm concerned about is if for some reason the network fails, and the...
4
4042
by: William Wisnieski | last post by:
Hello Everyone, Access 2000 I have a form with multiple pages on it. There is one text field on the third page of the form that I need the user to complete before leaving the form or moving to the next record. So, in the BeforeUpdate event of the form itself I have the following code:
1
4371
by: intl04 | last post by:
Are there any problems with multiple user access to the same Access database on a shared network drive? I have 'shared' chosen for 'default open mode'. As for the record locking properties, I selected 'edited record' for default record locking; also, 'Open databases using record-level locking' is checked. We seemed to experience difficulties in this office - just once so far, I think - with more than one user accessing the database on a...
19
3478
by: davidgordon | last post by:
Hi, I need some pointers/help on how to do the following if it possible: In my access db, I have the following: Tables: Products, Sub-Assembly, Product-Pack Table, Products
6
4997
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing for long running reports. When the processing is complete it uses crystal reports to load a template file, populate it, and then export it to a PDF. It works fine so far....
18
3397
by: Gleep | last post by:
I've searched google intensely on this topic and it seems noone really knows how to approch this. The goal I don't want clients to give out their usernames and passwords to friends, since the site relies on subscrption fees. Sessions ID's are matched between the browser and the server. So a users can login with same username and password and those sessions are tracked individually. Some suggest create table fields with the session ID...
1
1621
by: Matt Adamson | last post by:
Guys, We have an issue where we need to control access to specific web pages e.g. if one user is editing a purchase requisition another user shouldn't be able to perform any actions on it. I presume we could lock the purchase requisition for editing by a specific user when an edit button is pressed. Only that user would then be able to edit the document. However can anyone think of any better approaches to this issue which I presume...
7
2001
by: Birky | last post by:
All, I have scrubbed the archives to see if someone else has requested this type of help but I have not been able to find anything that fits this scenario. I have a form (which is working perfectly at the moment) where my users want me to insert functionality that would allow them to save multiple entries into the database that would automatedly change one value (in our case the Version number). I currently have one object for the Version...
0
9621
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10264
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10106
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7463
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6717
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5355
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3610
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2852
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.