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

Unable to navigate to next record

Access 2002, Windows XP, 1 Front end MDB, 1 Back end MDB

I have a subform which points to a table. Navigating from one record
to the next is obviously dead straight forward. However, this seems to
have stopped working periodically. I can have several records
available, and sometimes I cannot move forward or backward a record,
nor create a new one. However, on occasion it does work. I'm obviously
missing something, or have changed something, but just can't work out
what it is. At least, it was nothing on purpose. If I close the MDB
and re-open, it works for a while. Next time I go in, it may not work.

I'm thinking something has become corrupted as I have never seen this
before and nothing has changed. Well, the tables have been moved to a
different MDB file a while back, but the links are OK (inc primary
keys etc) and I can do this fine within the table. There are no
filters on the recordset and the form points directly to the table.
There isn't anything obvious.

I've not changed anything I can think of that would cause this, so any
suggestions would be appreciated. BTW, I don't get any error
whatsoever, just a message saying I can't go to the specified record.

Thanks in advance

Ryan
Nov 13 '05 #1
4 3846
When it refuses to move, is the form dirty?

If you display the Record Selector at the left of the record, it shows a
pencil icon when the record is dirty. Is there is some reason why the record
cannot be saved? Is it being dirtied immediately it is loaded (e.g. in the
Current event of the form)? Or is it being dirtied again as soon as it saves
(in the AfterUpdate event of the form)?

If that is not the issue, it could be a corrupted database. You could try
rebuilding it via the 6 steps for the first symptom in this article:
Recovering from Corruption
at:
http://members.iinet.net.au/~allenbrowne/ser-47.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Ryan" <ry********@hotmail.com> wrote in message
news:78**************************@posting.google.c om...
Access 2002, Windows XP, 1 Front end MDB, 1 Back end MDB

I have a subform which points to a table. Navigating from one record
to the next is obviously dead straight forward. However, this seems to
have stopped working periodically. I can have several records
available, and sometimes I cannot move forward or backward a record,
nor create a new one. However, on occasion it does work. I'm obviously
missing something, or have changed something, but just can't work out
what it is. At least, it was nothing on purpose. If I close the MDB
and re-open, it works for a while. Next time I go in, it may not work.

I'm thinking something has become corrupted as I have never seen this
before and nothing has changed. Well, the tables have been moved to a
different MDB file a while back, but the links are OK (inc primary
keys etc) and I can do this fine within the table. There are no
filters on the recordset and the form points directly to the table.
There isn't anything obvious.

I've not changed anything I can think of that would cause this, so any
suggestions would be appreciated. BTW, I don't get any error
whatsoever, just a message saying I can't go to the specified record.

Thanks in advance

Ryan

Nov 13 '05 #2
Hi Ryan,
This is just something I do when a form starts acting weird: decompile the
database by adding the "/decompile" (without quotes) switch to the startup
command line. After the decompile, remove the /decompile switch and compact
the database a couple of times then run the form again. This has always
worked for me!

"Ryan" <ry********@hotmail.com> wrote in message
news:78**************************@posting.google.c om...
Access 2002, Windows XP, 1 Front end MDB, 1 Back end MDB

I have a subform which points to a table. Navigating from one record
to the next is obviously dead straight forward. However, this seems to
have stopped working periodically. I can have several records
available, and sometimes I cannot move forward or backward a record,
nor create a new one. However, on occasion it does work. I'm obviously
missing something, or have changed something, but just can't work out
what it is. At least, it was nothing on purpose. If I close the MDB
and re-open, it works for a while. Next time I go in, it may not work.

I'm thinking something has become corrupted as I have never seen this
before and nothing has changed. Well, the tables have been moved to a
different MDB file a while back, but the links are OK (inc primary
keys etc) and I can do this fine within the table. There are no
filters on the recordset and the form points directly to the table.
There isn't anything obvious.

I've not changed anything I can think of that would cause this, so any
suggestions would be appreciated. BTW, I don't get any error
whatsoever, just a message saying I can't go to the specified record.

Thanks in advance

Ryan

Nov 13 '05 #3
Thanks for the advice both of you. Will give them a try tonight.

Ta

Ryan

"Barry Wright" <ba*****************@NOSPAMrogers.com> wrote in message news:<MY********************@rogers.com>...
Hi Ryan,
This is just something I do when a form starts acting weird: decompile the
database by adding the "/decompile" (without quotes) switch to the startup
command line. After the decompile, remove the /decompile switch and compact
the database a couple of times then run the form again. This has always
worked for me!

"Ryan" <ry********@hotmail.com> wrote in message
news:78**************************@posting.google.c om...
Access 2002, Windows XP, 1 Front end MDB, 1 Back end MDB

I have a subform which points to a table. Navigating from one record
to the next is obviously dead straight forward. However, this seems to
have stopped working periodically. I can have several records
available, and sometimes I cannot move forward or backward a record,
nor create a new one. However, on occasion it does work. I'm obviously
missing something, or have changed something, but just can't work out
what it is. At least, it was nothing on purpose. If I close the MDB
and re-open, it works for a while. Next time I go in, it may not work.

I'm thinking something has become corrupted as I have never seen this
before and nothing has changed. Well, the tables have been moved to a
different MDB file a while back, but the links are OK (inc primary
keys etc) and I can do this fine within the table. There are no
filters on the recordset and the form points directly to the table.
There isn't anything obvious.

I've not changed anything I can think of that would cause this, so any
suggestions would be appreciated. BTW, I don't get any error
whatsoever, just a message saying I can't go to the specified record.

Thanks in advance

Ryan

Nov 13 '05 #4
Found it. It won't move when on a specific field as I have some code
at the end to set it to capitals on exit. It's obviously the problem,
so I'll find a way to sort this.

Thanks for the advice anyway.

Ryan
Nov 13 '05 #5

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

Similar topics

3
by: Vinnie Davidson | last post by:
Hi! I have a detail page that shows one spesific record based on the article ID. I need to make a navigation on this detail page, with "previous article" and "next article" links. So, my...
1
by: Joe Bond | last post by:
Hi. I have a simple MS Access 2000 form in which I enter some customer data. When the address field is entered I need to see if a duplicate record exists. I need to know this *right away* before...
1
by: ubmc | last post by:
Revised form layout by dragging/dropping fields from field list and deleting unwanted fields. However, unable to go to next existing record or return to previous existing record, but can add new...
1
by: Chicken Kebab Abdullah | last post by:
I am making a database of my movie collection and I have a form which Shows a DVD Code in a combo, and a list of the divx movies on the dvd on the right in a list box. The combo boxes bound...
4
by: Susan Bricker | last post by:
I have a command button on a form that is supposed to Delete the record being displayed. The record is displayed one to a form. The form is not a Pop-Up nor is it Modal. Tracing the btnDelete...
2
by: TM | last post by:
When I run an ASP.Net application I am getting the following error: "Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged."...
3
by: hussein | last post by:
'm not bale to run my projec on the 2000 server, he error was: error while trying to run project: unable to start debugging on the web server.erver side error occurred on sending debug HTTP request...
0
by: Oberon | last post by:
How do I navigate through records using drag 'n' drop controls? I have an example in C# for Windows forms that relies on BindingContext but this is not available for ASP.NET. How do I solve that...
3
by: Deacon Dan | last post by:
I want to be able to keep the current form on the current record. That is, the arrow key, the tab or the enter should not cause the form to go to next record or previous record. Preferably loop...
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:
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.