Results 1 to 4 of 4
  1. #1
    qwerty1 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2012
    Posts
    5

    Access Error 2950! Help!

    I am tearing my hair out over this. Searched everywhere and cannot find a solution.



    I have an access .accb file with one form.
    On the sub:
    Public Sub Form_Load()
    combobox1.SetFocus
    End Sub

    When the form loads, it sets focus to combobox1. EASY RIGHT?!?!?!?!?!?

    It works perfectly fine using Access 2007 on Windows XP.

    When I open it on Access 2010 on Windows 7, I get Run-Time Error '2950'!!!!!!!!!
    Tried 4 different computers all with the same error!

    I cannot figure out how to solve this.
    I added the file location and all subfolders to trusted location....IT STILL COMES UP WITH THE SAME ERROR.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    What is the text of the error? Why not just make that combo first in the tab order? That will make it first to get focus.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    qwerty1 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2012
    Posts
    5
    Quote Originally Posted by pbaldy View Post
    What is the text of the error? Why not just make that combo first in the tab order? That will make it first to get focus.


    Hi, it is a split form.
    It I set Tab Stop to Yes, and Tab index to 0, it still does not set the listbox to focus.

  4. #4
    GeekInOhio's Avatar
    GeekInOhio is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2012
    Posts
    25
    Sometimes you get misleading errors related to missing references, especially when opening a project from one generation of Access in another one.

    Try opening up the VBA editor and selecting Tools >> References. Do you have any marked as MISSING? If so, remove them and if necessary replace them. If none are missing, try adding a reference and then closing and reopening Access. Then go back in and remove it again. Sometimes that fixes miss-linked references.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 09-28-2011, 09:20 PM
  2. Action Failed 2950
    By TracyBell in forum Access
    Replies: 1
    Last Post: 05-02-2011, 11:00 AM
  3. error 2950 out of the blue
    By kroenc17 in forum Access
    Replies: 1
    Last Post: 10-08-2010, 10:00 AM
  4. Action Failed -Error Number: 2950
    By Cindy in forum Access
    Replies: 5
    Last Post: 07-07-2010, 11:51 AM
  5. Replies: 2
    Last Post: 09-30-2009, 09:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums