Share via

Microsoft Access ACCDE ListBox DoubleClick doesn't work

Anonymous
2016-02-12T17:03:54+00:00

I just installed Access 2016 and created a simple form with a listbox.  User double-clicks an item in the listbox and it opens another form.

Functionality works fine in the .accdb but not in the .accde version.

Any ideas?

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

9 answers

Sort by: Most helpful
  1. Anonymous
    2017-06-13T19:47:56+00:00

    I had this same problem with a 2010 database 32 bit database.  Double click event worked in accdb but not in accde.  The fix is simple, open your accdb and then your VBA editor.  In the VBA editor, click Debug>Compile.  Now when you save your accde the double click should work.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2016-02-15T18:13:45+00:00

    Ok, first up, GREAT idea to remove the control, great idea to go the EXTRA mile and eliminate as MUCH as possible.

    The basic BOTTOM line is a super simple line of code that is 100% hardcoded with the form does not work. (so suggesting’s to try MORE complex code is not the approach to find and fix this program).

    Ok, so the simplest ONE line of code does not work:

    Troubleshooting:

    You have suggested that using an accDB works just fine? (yes/no?)

    You have suggested that the code compiles fine, but running the compiled accDE does NOT work? (yes/no?).

    Above being the case, then try launching Access first and THEN opening the accDE – does the code STILL fail?

    If you are answering yes to all of the above (and many of my clients are), then you being bitten by a VERY nasty issue – the new 2016 format (internal).

    The issue is due to the original database having been created in a version prior to 2016. The only real solution is to create a new blank database in 2016, and then import everything. Now, re-try the above steps/questions – and post back that it now works (bottoms to dollars, it will).

    I assume for all testing you doing this on your one computer, and the accDE and that SUPER simple one line of code is failing on your computer.

    Regards,

    Albert D. Kallal (Access MVP)

    Edmonton, Alberta Canada

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. ScottGem 68,830 Reputation points Volunteer Moderator
    2016-02-12T20:31:22+00:00

    Do you have anything in the On Click or any other event of the Listbox?

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2016-02-12T19:58:21+00:00

    Private Sub List0_DblClick(Cancel As Integer)

    DoCmd.OpenForm "frmName"

    End Sub

    Was this answer helpful?

    0 comments No comments
  5. ScottGem 68,830 Reputation points Volunteer Moderator
    2016-02-12T18:02:12+00:00

    What code is behind the event?

    Was this answer helpful?

    0 comments No comments