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

Using Access to Edit SQL Table: Form with Multiple tabs

I have an Access form with multiple tabs; the underlying table is in SQL Server.

The problem comes up when I edit and save a record on tab 1, then go to tab 2 to to edit a different field of the same record. I get the following error message:
The data has been changed
Another user has edited this record and saved the changes before you attempted to save your changes. Re-Edit the record.
If you click OK in the dialog box, Access will let you edit the record.

The problem does not occur when the tables are in Access rather than SQL.

Any ideas?

Thanks,


Dante
Apr 7 '09 #1
4 3283
ADezii
8,834 Expert 8TB
@dantebothermy
You could try a Requery of the Form's Record Source, then return to the same Record.
Apr 7 '09 #2
ADezil,

thanks for the reply.

The record source is a table, not a query. Would the equivalent be to refresh the data?
Apr 7 '09 #3
ADezii
8,834 Expert 8TB
@dantebothermy
Refresh and Requery are definately not the same. After applying a Refresh to a Form, the current set of Records won't include Records that have been added or will it exclude Records that have been deleted since the database was last Requeried. Also, it will not exclude Records that no longer satisfy the criteria of a Query or Filter. To accomplish the above, you must Requery. The Refresh Method is used primarily to reflect changes made to the Data by you and other Users in a Multiuser environment. In your current context, a Refresh may actually work.
Apr 7 '09 #4
NeoPa
32,556 Expert Mod 16PB
@dantebothermy
You say you have saved the record. If this is true then a Refresh ought to work. If you're getting this message under these circumstances anyway, I assume that you would need to refresh each page (or tab) separately though.

Also, you don't say, but I suspect you have subforms on your pages. Is that right?
Apr 8 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Random Person | last post by:
Does anyone know how to use VBA to relink tables between two MS Access databases? We have two databases, one with VBA code and the other with data tables. The tables are referenced by linked...
3
by: Wim Verhavert | last post by:
Hi all, I'm bothered with this question for weeks now.... Is it possible to edit multiple records at once using VBA? I have this continuous form and depending on the selection the user makes, I...
1
by: Daveyk0 | last post by:
Hello there, I have a front end database that I have recently made very many changes to to allow off-line use. I keep copies of the databases on my hard drive and link to them rather than the...
4
by: Kathy | last post by:
What is the standard technique for handling the fields in the following scenario on a continuous form? Multiple Divisions. Each Division has multiple Buildings. Each Building has a Supervisor. ...
1
by: libbythomas | last post by:
I created an Access 2000 form from a query. But I cannot edit it. I can flip through the records. If I create a table from the query (maketable) and then create the form from the table, it is...
12
by: Wadim Grasza | last post by:
I want to store and display (on a form or a report) multiple pictures per record in an access database. The pictures are not stored within the database. They are stored as files and the database...
1
by: ghadley_00 | last post by:
I have an MS Access Database with multiple forms that all update fields in a single table because I can't fit all the required fields onto a single screen. I have looked into converting these...
6
by: Jack | last post by:
Hi, I have an Access application which need to be converted to asp-sql server application. This Access application uses a single form. This form has got a SS number with names and age. The form...
1
by: javediq143 | last post by:
Hi All, This is my first post in this forum. I'm developing a CMS for my latest website. This CMS is also in PhP & MySQL. I'm done with the ADD section where the Admin can INSERT new records in...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...

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.