Results 1 to 9 of 9
  1. #1
    michaelb is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2011
    Posts
    28

    Post Problems with ACCDE Database

    I have a database that works fine as a ACCBD, but when I make a ACCDE from the ACCBD, the ACCDE does not recognize the VBA code attached to any of the events. I know it is not recognizing or accessing the VBA code because in the ACCDB I put a msgbox to display the message "VBA Code Accessed". When I run the ACCDB, the message box displays the message. When I run the ACCDE, it does not. I have a combobox in a form. I also used a msgbox to display the record number for the name selected in a combobox; msgbox(Me!Combo0). In the ACCDB it worked fine. In the ACCDE it did not. I don't know what to do from here. I need help. It is my hope that someone else has been through this. If you can give me suggestions on cause or action to take, I would appreciate it.



    Thank you...

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Is the DE in the same location (folder) as the DB?

  3. #3
    michaelb is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2011
    Posts
    28
    Thank you RuralGuy for replying.

    Yes, The DE is in the same location as the DB.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I was just guessing that maybe the DE was not in a trusted location. I don't know why it would not work if they are both in the same location.

  5. #5
    michaelb is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2011
    Posts
    28
    If you think of anything that might be helpful, let me know.

    Thanks again

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I've not played with DE's before but if you want to post your db then I'd be willing to give it a shot. Compact and Repair first before zipping up the db. Include both the DB and DE if you post.

  7. #7
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Are you opening both files from the same computer?

    Or are you attempting to open the accde from a different computer?

    You may also need to check security settings, macros/module code will not run in certain instances with accde(or .mde) files.

  8. #8
    michaelb is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2011
    Posts
    28
    Thank you Rural Guy and repeare, The ACCDB to ACCDE problem has been fixed. I had to compile the ACCDB before the DE would work. From within the VBA editor, I clicked on the DEBUG option which showed the compile database option. Once compiled it workd fine. Thanks again for all your help.

    michaelb

  9. #9
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Thanks for posting back with your success.

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

Similar Threads

  1. Problems with database size
    By PlamenGo in forum Access
    Replies: 9
    Last Post: 06-24-2011, 03:53 PM
  2. Database Design Problems
    By trini in forum Access
    Replies: 0
    Last Post: 03-05-2011, 11:24 PM
  3. Split database problems
    By stuben in forum Access
    Replies: 1
    Last Post: 09-15-2010, 11:48 AM
  4. Simple database problems
    By CHowell2005 in forum Access
    Replies: 6
    Last Post: 07-22-2010, 04:20 PM
  5. Problems opening database
    By jdelvie in forum Programming
    Replies: 1
    Last Post: 09-20-2009, 10:11 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