Results 1 to 5 of 5
  1. #1
    markjkubicki's Avatar
    markjkubicki is offline Expert
    Windows 10 Access 2013 64bit
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    513

    can't find form on project open

    suddenly getting a 2450 'can't find form'
    (lately, I've been all over this project, starting this, then having to shift to that... certain i did something)

    my problem is...

    the form is the second form to open, not the first; and the error happens (sometimes) as soon as i open the project (seemingly before (?) the first form opens),
    and then again (always) when i close the project.

    --> so... I'm not certain how to look for the error; doesn't seem i can step through the code in this instance (?)
    as 'someone' always said: "learn something new every day...")

    with appreciation in advance,


    m.

  2. #2
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    Not understanding the sequence. Your db is an .adp file? I've never created an Access project so if it's different than a db I'm not going to be much help. IIRC, any break point you create remains after you close the db so not sure why you can't step through. Perhaps you can step through the code if you insert one line in the code at a strategic point:

    Stop

    Can you not see this form in the navigation pane to confirm that it is still there and that nothing is mis-spelled?
    Last edited by Micron; 12-18-2021 at 10:39 AM. Reason: added question
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,250
    Can you post the entire code that opens the form(s)?
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  4. #4
    markjkubicki's Avatar
    markjkubicki is offline Expert
    Windows 10 Access 2013 64bit
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    513
    not to worry,
    found it,
    stupid mistake.

    thnx none-the-less,
    m

  5. #5
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    Well, please show that mistake, so someone else does not make the same?
    That is what these forums are for after all, tips and pitfalls?
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

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

Similar Threads

  1. Cant find project or library error
    By jcgillies in forum Programming
    Replies: 2
    Last Post: 05-26-2016, 05:57 AM
  2. Open to Blank form and use Find button
    By dmon2010 in forum Forms
    Replies: 1
    Last Post: 04-10-2014, 08:07 AM
  3. Form to open in 'find mode'?
    By kattatonic1 in forum Forms
    Replies: 13
    Last Post: 10-17-2013, 01:37 PM
  4. can't find project or library
    By waqas in forum Programming
    Replies: 3
    Last Post: 04-15-2012, 03:21 PM
  5. Replies: 1
    Last Post: 05-16-2009, 08:47 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