I posted a question on 5/5/08 asking how to trap an error caused by
multiple users trying to access the same patient. Here's what I
posted:
"Using A2003. I've got an FE with a main form with a subform. The
subform is a mixture of bound and unbound fields. The main form is
unbound and all it has on it is a combobox to choose a patient's
name. Once the patient is chosen, the subform refreshes to show that
patient's data. The problem I'm having is that 2 or more users could
select the same patient and attempt to update the subform. If user
#2
tries to update a bound field (haven't tried unbound yet) on the
subform, they get a "beep" and the "no edit" icon appears in the
record selector on the left-side. I'm trying to trap that to display
a message to them that the patient is being edited by someone else.
But I cannot seem to figure out where the error is occurring. I've
set breakpoints in the Form_Error event, but it won't trap the error.
I've set breakpoints in events for various bound fields on the
subform
but I still cannot trap the error. I would like for other users to
be
able to view the patient's data while another user is editing, just
not be able to edit it.
The BE mdb is set to Shared, and "Edited Record".
Thanks for any help or advice. "
Larry Linson suggested: "In multiuser environments, each user should
have his/her own copy of the
Front End, linked to shared tables with data, in the Back End. That
will
alleviate your problem... provided you use proper locking, which is
certainly possible... "
I stated in my original posting that is how I have it set up. Each
user has their own FE, the BE is set up as "Shared" and "Edited
Record". Is there a better way to set this up?
Thanks for any help or advice. 2 1525
"EManning" <ma**********@h otmail.comwrote in message
news:5f******** *************** ***********@34g 2000hsh.googleg roups.com...
>I posted a question on 5/5/08 asking how to trap an error caused by
multiple users trying to access the same patient. Here's what I
posted:
"Using A2003. I've got an FE with a main form with a subform. The
subform is a mixture of bound and unbound fields. The main form is
unbound and all it has on it is a combobox to choose a patient's
name. Once the patient is chosen, the subform refreshes to show that
patient's data. The problem I'm having is that 2 or more users could
select the same patient and attempt to update the subform. If user
#2
tries to update a bound field (haven't tried unbound yet) on the
subform, they get a "beep" and the "no edit" icon appears in the
record selector on the left-side. I'm trying to trap that to display
a message to them that the patient is being edited by someone else.
But I cannot seem to figure out where the error is occurring. I've
set breakpoints in the Form_Error event, but it won't trap the error.
I've set breakpoints in events for various bound fields on the
subform
but I still cannot trap the error. I would like for other users to
be
able to view the patient's data while another user is editing, just
not be able to edit it.
The BE mdb is set to Shared, and "Edited Record".
Thanks for any help or advice. "
Larry Linson suggested: "In multiuser environments, each user should
have his/her own copy of the
Front End, linked to shared tables with data, in the Back End. That
will
alleviate your problem... provided you use proper locking, which is
certainly possible... "
I stated in my original posting that is how I have it set up. Each
user has their own FE, the BE is set up as "Shared" and "Edited
Record". Is there a better way to set this up?
Thanks for any help or advice.
You could create a new table that contains two fields, User & PatientName.
Whenever a user selects a patient via the combobox on the main form, a
record could be added/updated in the new table. Also, the table can be
searched to see if that PatientName already exists in the new table. If it
already exists, then another User must already have the subform open, and
the subform can be opened as readonly for the current user (with a msg).
When a User closes the main form, then their record is deleted from the new
table.
As Larry suggested, this processs seems too complicated as Access has
built-in functions to handle this circumstance. Maybe the users merely need
to be educated as to what the "beep" and "no edit" icon mean.
Fred Zuckerman
On May 8, 9:05*am, "Fred Zuckerman" <Zuckerm...@sbc global.netwrote :
"EManning" <manning_n...@h otmail.comwrote in message
news:5f******** *************** ***********@34g 2000hsh.googleg roups.com...
I posted a question on 5/5/08 asking how to trap an error caused by
multiple users trying to access the same patient. *Here's what I
posted:
"Using A2003. *I've got an FE with a main form with a subform. *The
subform is a mixture of bound and unbound fields. *The main form is
unbound and all it has on it is a combobox to choose a patient's
name. *Once the patient is chosen, the subform refreshes to show that
patient's data. *The problem I'm having is that 2 or more users could
select the same patient and attempt to update the subform. *If user
#2
tries to update a bound field (haven't tried unbound yet) on the
subform, they get a "beep" and the "no edit" icon appears in the
record selector on the left-side. *I'm trying to trap that to display
a message to them that the patient is being edited by someone else.
But I cannot seem to figure out where the error is occurring. *I've
set breakpoints in the Form_Error event, but it won't trap the error.
I've set breakpoints in events for various bound fields on the
subform
but I still cannot trap the error. *I would like for other users to
be
able to view the patient's data while another user is editing, just
not be able to edit it.
The BE mdb is set to Shared, and "Edited Record".
Thanks for any help or advice. "
Larry Linson suggested: *"In multiuser environments, each user should
have his/her own copy of the
Front End, linked to shared tables with data, in the Back End. *That
will
alleviate your problem... provided you use proper locking, which is
certainly possible... "
I stated in my original posting that is how I have it set up. *Each
user has their own FE, the BE is set up as "Shared" and "Edited
Record". *Is there a better way to set this up?
Thanks for any help or advice.
You could create a new table that contains two fields, User & PatientName.
Whenever a user selects a patient via the combobox on the main form, a
record could be added/updated in the new table. Also, the table can be
searched to see if that PatientName already exists in the new table. If it
already exists, then another User must already have the subform open, and
the subform can be opened as readonly for the current user (with a msg).
When a User closes the main form, then their record is deleted from the new
table.
As Larry suggested, this processs seems too complicated as Access has
built-in functions to handle this circumstance. Maybe the users merely need
to be educated as to what the "beep" and "no edit" icon mean.
Fred Zuckerman- Hide quoted text -
- Show quoted text -
Yeah, I'm thinking just educating them on the beep and "no edit" icon
would be sufficient. Multiple users on the same patient will rarely
happen. Good suggestion on the new table. I may decide to go with
that. Thanks. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: aj |
last post by:
DB2 WSE LUW 8.1 Fixpak 5
Red Hat AS 2.1
Has anyone ever seen a db2diag.log indicate that a trap file
was written, but it is *not* written?
For the 3rd time in 18 months, I had a production server abend
and shut itself down w/ a signal 11 ala:
2005-10-30-02.05.02.430065 Instance:md Node:000
|
by: Arno R |
last post by:
Hi all,
This is a repost of a message posted at october 6.
The answer I got was about MapiMessages.AttachmentIndex.
I think I need the MSMAPI32.OCX to use this. (I don't have this file on my PC)
My newsaccount wasn't working anymore until yesterday, so I'll try again.
Question is:
I know it is possible to send email with Access, but can one also automate the attachments?
|
by: Steve McLellan |
last post by:
Hi,
Sorry to repost, but this is becoming aggravating, and causing me a lot of
wasted time. I've got a reasonably large mixed C++ project, and after a
number of builds (but not a constant number) linking (and sometimes
compiling) becomes immensely slow, and task manager shows that link.exe (or
cl.exe) is barely using any processor time, but an awful lot of RAM (around
150-200MB). I'm going to keep an eye on page faults since I can't...
|
by: aikwee |
last post by:
hi all, i have a software written in vb.net which has many thread in it.
The software basically use about 8 threads to monitor in coming data
from serial port,
and some other thread that process those data.
What happen is the software will suddenly "dissapear" after running for
some time.
|
by: Colin McGuire |
last post by:
Hi - this was posted last weekend and unfortunately not resolved. The
solutions that were posted almost worked but after another 5 days of
working on the code everynight, I am not further ahead.
If you do have any ideas I would really like to hear them.
Thanks
Colin
- 0 - 0 - 0 -
I want a glorified popup/context menu on a button that shows only when
| |
by: pemo |
last post by:
Ambiguous?
I have a student who's asked me to explain the following std text (esp. the
footnote).
6.2.6.1.5
Certain object representations need not represent a value of the object
type. If the stored
value of an object has such a representation and is read by an lvalue
|
by: Jack |
last post by:
Since,
I have not got some desired advise, I am reposting this for some
asnwer/valuable suggestion. Thanks.
THE FOLLOWING IS A PART OF CODE FROM A ASP PAGE
<%
sql01 = "SELECT COUNT(*) AS reccount FROM Equipmenttbl "
sql01 = sql01 & "WHERE Equipmenttbl.GrantID = " & GrantID
|
by: pmarisole |
last post by:
I am trying to use the vbscript "split" function on a multi-select
field. I am trying
to do a mass update of several records at a time.
I am getting an error and I'm not sure what to do. Here is the code if
someone could help...
strID = split(request.form("proj"), ", ")
projstat = split(request.form("rojstat"),",")
impr = split(request.form("impr"),",")
idate =...
|
by: pemo |
last post by:
As far as I understand it, a trap representation means something like -
an uninitialised automatic variable might /implicitly/ hold a bit-pattern
that, if read, *might* cause a 'trap' (I'm not sure what 'a trap' means
here - anyone?).
I also read into this that, an *initialised* automatic variable, may never
hold a bit pattern that might, when read, cause a 'trap'. I.e., if an auto
is explicitly initialised, it may *never* hold a...
|
by: Christian Philippart |
last post by:
Hi,
How can I adjust the row height in a grid with multiple lines in a row?
Thank you
Christian.
|
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...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |