473,379 Members | 1,491 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,379 software developers and data experts.

Why does Access update instantly

I would like to know why Access tables are updated immediately upon being
changed (in table view or forms view). It seems to me that, at least with a
single record form, that Access could have been designed so that there would
be no permament change to the table unless specified explicity by the user.
I am aware that you can program around it with unbound fields.

I would like to know WHY it was done this way. If you know why it was done
this way, please respond.

Robert
Nov 13 '05 #1
4 1824
Seems logical to me Robert.
But if you don't want an automatic save, or want to prompt the user, you
only need to include code in the form's BeforeUpdate event to ask the user.
Access does give you the option.

--
Bob Darlington
Brisbane
"Robert" <pr**********@yahoo.com> wrote in message
news:lQ******************@fe06.lga...
I would like to know why Access tables are updated immediately upon being
changed (in table view or forms view). It seems to me that, at least with a
single record form, that Access could have been designed so that there
would be no permament change to the table unless specified explicity by the
user. I am aware that you can program around it with unbound fields.

I would like to know WHY it was done this way. If you know why it was
done this way, please respond.

Robert

Nov 13 '05 #2
On Mon, 21 Feb 2005 23:41:35 -0500, "Robert" <pr**********@yahoo.com>
wrote:

That is exactly how it works. A row is NOT immediately updated when a
change is made. Rather the user has to perform some action which
causes it to be saved. Actions include: go to another record, go to
subform, close form. Set the form's RecordSelector property to True,
and observe the difference between Pencil (not yet saved) and Triangle
(saved).

As Bob said, you can write code to add to this list, all the time
leaving things bound.

-Tom.

I would like to know why Access tables are updated immediately upon being
changed (in table view or forms view). It seems to me that, at least with a
single record form, that Access could have been designed so that there would
be no permament change to the table unless specified explicity by the user.
I am aware that you can program around it with unbound fields.

I would like to know WHY it was done this way. If you know why it was done
this way, please respond.

Robert


Nov 13 '05 #3
Robert,
In Oracle the DBA has the option of enabling or disabling AUTOCOMMIT.
COMMIT is what you understand to mean updating tables in Access. With
Oracle, more than a few users (professional DBA's among them) have burned
hours away at a problem that ultimately boiled down to a failure to commit.
Access works a lot like Excel in many respects. In Excel edits to a cell
are saved as soon as you accept the changes using [Enter] or click the
little green check mark in the formula bar. I would find it confusing if I
made an edit to a cell in an Access worksheet (Excel language is deliberate)
and that change was not saved without an explicit command.
Also, in the case of designing forms for data entry what you want is a
design which helps the clerk key as many records as possible in an hour. So
the form should be designed to minimize the number of keystrokes needed to
complete a record. Adding an explicit [Ctrl] [S] or some other meta key
combination to save a record adds a step to the data entry process and
incrementally slows down the clerk's speed and increases the costs to have
that record keyed. It's a piddly amount of time/money per record but over a
day's work or a week's work it would add up.
Access is supposed to be an easier to use relational database. It
is--compared to Oracle or others. I like the fact that my edits to a record
on a bound form are saved without having to explicitly save them. It makes
data entry fast and saves me from my forgetful self.

"Robert" <pr**********@yahoo.com> wrote in message
news:lQ******************@fe06.lga...
I would like to know why Access tables are updated immediately upon being
changed (in table view or forms view). It seems to me that, at least with a
single record form, that Access could have been designed so that there
would be no permament change to the table unless specified explicity by the
user. I am aware that you can program around it with unbound fields.

I would like to know WHY it was done this way. If you know why it was
done this way, please respond.

Robert

Nov 13 '05 #4
Alan Webb wrote:
Oracle, more than a few users (professional DBA's among them) have burned
hours away at a problem that ultimately boiled down to a failure to commit.


Aye, and many a marriage counselor, too.
Darryl Kerkeslager
Nov 13 '05 #5

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

Similar topics

30
by: Christian Seberino | last post by:
How does Ruby compare to Python?? How good is DESIGN of Ruby compared to Python? Python's design is godly. I'm wondering if Ruby's is godly too. I've heard it has solid OOP design but then...
0
by: Robert | last post by:
I would like to know why Access tables are updated immediately upon being changed (in table view or forms view). It seems to me that, at least with a single record form, that Access could have been...
4
by: Brian | last post by:
Hello, I have a vb.net web app that I am doing reads and adds to a database. Everything works fine and happens instantly. I recently added an update and it takes a long time to finish. I was...
6
by: No Spam Man | last post by:
Hi, I am not a programmer and in the past have only created very simple, flat file databases. Although I'm a newbie, I think I could probably figure out basic Boolean logic and financial...
8
by: elias.farah | last post by:
Hello Everyone, I'm having some very weird behavior on a couple of Access forms. (Not all forms, just some of them). The forms have been working for years, under Access XP/2003 etc, and last...
13
by: Neil | last post by:
I'm running an update query in SQL 7 from QA, and it runs forever. Has been running for 20 minutes so far! The query is quite simple: update a single field in a table, based on a join with another...
29
by: zalek | last post by:
I am writing application with Ajax in sync mode - xmlHttp.open("GET", url, false). I noticed that in FireFox handler doesn't starts. It starts when I use xmlHttp.open("GET", url,true). I need to...
6
by: MrDeej | last post by:
Hello! I have code wich scans the through 10 computers on a LAN for files and import them into different tabels. This code aproximitly imports 10 000 files (with 1 to 20 rows of info) a day and is...
8
by: Beany | last post by:
Hi All, I'm starting a new project and need some help... I would like to update a main database file on a PC using PDAs. The PDA will contain the replica file and any changes made by workers on...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.