CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: dbase problem

  1. #1
    Join Date
    Apr 2000
    Location
    Mesa, AZ
    Posts
    189

    dbase problem

    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

  2. #2
    Join Date
    Sep 2000
    Location
    CA
    Posts
    25

    Re: dbase problem

    Is it possible that the particular form you are in is set to Allow Additions = No?

    Jason


  3. #3
    Join Date
    Apr 2000
    Location
    Mesa, AZ
    Posts
    189

    Re: dbase problem

    No, AllowAdditions=True

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured