I'm using MS Access 2003 1 form with 7 sub forms, updating 7 tables. I've split my database but still getting data changes error messages when multiple people are in the database. Any help would be greatly appreciated.
Thanks.
4 2049 FishVal 2,653
Recognized Expert Specialist
I'm using MS Access 2003 1 form with 7 sub forms, updating 7 tables. I've split my database but still getting data changes error messages when multiple people are in the database. Any help would be greatly appreciated.
Thanks.
Hi, dfent.
DB splitting will not prevent attempt of multiple users to edit the same record. Access honestly warns a user that another user has changed and saved the record he tries to save.
You can trap this by handling Form_Error event, which allows you to perform some action, warn a user the way you like or just ignore the situation.
example -
Private Sub Form_Error(DataErr As Integer, Response As Integer)
-
Const conRecordSaveConflict = 7787
-
If DataErr = 7787 Then Response = acDataErrContinue
-
End Sub
-
This code just suppress Access warnings silently allowing a second user to save his record.
Hope this makes a sense.
FishVal 2,653
Recognized Expert Specialist
That suppresses the errors but if user 1 is in the database and then user 2 enters and user 1 has the date field selected, when user 2 changes - the changes are seen on for user 1 as well.
Thanks.
FishVal 2,653
Recognized Expert Specialist
That suppresses the errors but if user 1 is in the database and then user 2 enters and user 1 has the date field selected, when user 2 changes - the changes are seen on for user 1 as well.
Thanks.
Well, and how do you want this conflict to be resolved?
Particular solution depends on user interface implemented in you frontend.
I guess you probably want to lock record when user 1 starts to modify it so that user 2 will see it as locked/read-only.
Am I right?
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Reply-Via-Newsgroup |
last post by:
Folks,
I have the following string:
1P,2G,3G,3ML,4L,5LB,4P
Anybody know how I can easily seperate the letters and numbers in to
multi-dimension array so as I have something like
$myarray="1";
|
by: Stu Cazzo |
last post by:
I have the following:
String myStringArray;
String myString = "98 99 100";
I want to split up myString and put it into myStringArray.
If I use this:
myStringArray = myString.split(" ");
it will split myString up using the delimiter of 1 space
so that
|
by: Will McGugan |
last post by:
Hi,
I'm curious about the behaviour of the str.split() when applied to empty
strings.
"".split() returns an empty list, however..
"".split("*") returns a list containing one empty string.
I would have expected the second example to have also returned an empty
|
by: Susan Baker |
last post by:
Hi,
I'm working on s simple parser and I would like to split up multi-line
expressions into single expressions. Is there a way whereby I could
slurp the lines into an array (or other container)?
The perl equivalent way of doing this is with the split function. Is
there an equivalent in C++ - or do I have to roll my own tokenizer?
|
by: Mike P |
last post by:
I am using Split to split get a number of items from a multi line text
box. But I need to be able to get the number of elements within the
text box (e.g. if the text box has 2,4,8 in it, I want to be able to
count that this text box has 3 elements entered into it). My code is
below :
for (int p=0; p < dgNational.Items.Count; p++)
{
strQuantity =
((TextBox)dgNational.Items.FindControl("txtAccount")).Text +"\r\n";
| |
by: Itzik |
last post by:
can i split this string
string str = "aa a - bb-b - ccc"
with this delimiter
string del = " - "
i want recieve 3 items : "aa a" , "bb-b" , "ccc"
|
by: Jan Hanssen |
last post by:
Hi!
I have a list of data in a textfile which is tab delimited. Each line is
seperated by a VbCrLf. I want to collect this data in a multidimensional
string array. I do not wish to use a database or a Disconnected ADO
Recordset since this is just passing data along to be written into an XML
file...
I've figured out how to split the data line by line by doing a
|
by: pmarisole |
last post by:
I am using the following code to split/join values in a multi-select
field. It is combining all the values in All the records into one long
string in each record in recordset.
Example: I have a recordset with 2 records.
The 1st contains the split/joined values: Alan Smir, Jeff Karl
The 2nd contains the value: Keith Robb
When it updates database, it will put Alan Smir, Jeff Karl, Keith Robb
into each record in the recordset
|
by: martinskou |
last post by:
Hi, I'm looking for something like:
multi_split( 'a:=b+c' , )
returning:
whats the python way to achieve this, preferably without regexp?
Thanks.
|
by: Mike TI |
last post by:
Nov 13, 2007
Hi all
I have an application that comprises of three modules.
Initially a screen is displayed. Upon selection from a menu on this screen,
module 1, module 2 or module 3 is invoked. Please note here that some
variables defined as public in the initial screen are used by the modules.
|
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...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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: 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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
| |