473,406 Members | 2,217 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,406 software developers and data experts.

Deleted Records Still Show

Hopefully someone can shed some light on this. I have a table in a DB that is linked to another DB I deleted several records in the linked table. They no longer show up in any of the tables, but when I view the form that is linked to the table, the deleted records still show.....what is going on???
Mar 19 '09 #1
2 4794
Stewart Ross
2,545 Expert Mod 2GB
Hi Dieselrocks. Sounds like a refresh interval problem, particularly if the tables are linked via ODBC.

Access loads a form's recordsource - its recordset - when it is first opened. In a multi-user environment it automatically refreshes the form periodically to show modifications and changes to records, at specific refresh intervals specified in the Tools, Options, Advanced settings of the database itself.

You can force a form to refresh manually using the Records, Refresh menu option - and if you try this when the form is showing some records you know you have deleted you will be able to tell for certain by their subsequent disappearance if it is or is not a refresh problem.

The two database settings of interest from the Tools, Options, Advanced tab are the refresh interval (which will apply if your tables are linked directly to another Access database), and the ODBC refresh interval (which will apply if you are linked via an ODBC driver). The defaults are 60 seconds for the normal refresh interval and 1500 seconds for the ODBC refresh. So, somewhat incredibly, for ODBC it can be more than 20 minutes before Access will refresh an open form to show any modified records, new records, or deleted records.

Check the settings for your database, and if your DB is linked via ODBC try reducing the setting to something more sensible than 1500 seconds.

PS Access tables are not intended for direct access by users, although it can be a quick'n'dirty method for developer use. Deleting records directly in a table or in code bypasses the forms environment until the next refresh and is not really recommended as the norm unless you are prepared to implement automated refresh using VBA or the like.

-Stewart
Mar 19 '09 #2
As usual, you're right on, Stewart. Thanks!
Mar 19 '09 #3

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

Similar topics

3
by: Chumley the Walrus | last post by:
IN my code behind .vb page for a delete records script (this also does a deletion confirmation with a javascript popup, this gets called on my front .aspx page with the datagrid), I'm not sure if...
10
by: DaveDiego | last post by:
I've had a user delete one of the client records, I do have a version of the DB with all records intact before the deletion occured. Whats the best approach to getting all the related records in...
5
by: Grant | last post by:
Hi Is there a way to recover deleted records from a table. A mass deletion has occurred and Access has been closed since it happened Louis
2
by: maddman | last post by:
I have an odd problem with my database, and was hoping someone could point me at the problem. We have an access database that is used by several people to input data. Users have reported some...
3
by: BrianDP | last post by:
I have a database with a split front end/back end. There is a key table in the back end called Catalog, and it is sort of a central key table for all sorts of things. It's a list of all the jobs...
1
by: musicloverlch | last post by:
I have a DB2 table and when I open it, all the records show up as #Deleted. I went here: http://www.techonthenet.com/access/tables/del_err_linked.php and tried this, but I don't get a pop-up box...
2
by: paula | last post by:
I have a front-end access database that uses a sql server back-end to link the tables. When I run the following code, the subform displays #deleted in place of the deleted record. What am I doing...
12
by: magmike | last post by:
Accidentally deleted a record. Anyway to get it back? If not, I know the ID number - which is an autonumber field. Because of the related data from other tables, would I be able to create a new...
4
codemama
by: codemama | last post by:
I have created xml files in C# using the DataSet ds.WriteXml method. I now need to take an xml file and be able to do an insert or delete to a table in MS Access. How would I go about that? Do...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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:
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...
0
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...
0
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...

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.