Karok
October 16th, 2001, 05:50 PM
I have a database program that I inherited and I am getting "Run time error 2105. You can't go to the specified record. You may be at the end of the database." The problem is that I am getting this error on the following code:
DoCmd.GoToRecord , , acNewRec
The info on this function in MS Access help is pretty sketchy. Basically, it looks like this is trying to create a new record in the current form. So my question is what would cause this to fail? The same code is in several of the other forms I am working on, and it works fine. Any ideas?
I will rate all useful suggestions :)
In reply to:
A man who asks a question is a fool for 15 minutes. A man who doesn't ask a question is a fool for a lifetime. -Chinese Proverb
Karok
DoCmd.GoToRecord , , acNewRec
The info on this function in MS Access help is pretty sketchy. Basically, it looks like this is trying to create a new record in the current form. So my question is what would cause this to fail? The same code is in several of the other forms I am working on, and it works fine. Any ideas?
I will rate all useful suggestions :)
In reply to:
A man who asks a question is a fool for 15 minutes. A man who doesn't ask a question is a fool for a lifetime. -Chinese Proverb
Karok