Results 1 to 3 of 3
  1. #1
    jboulier is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Jun 2017
    Location
    California
    Posts
    2

    Exclamation Unable to delete a class from VBA

    I have tried to import a form incorrectly. Know where my mistake was. But it placed the import as a class, three of them. I am unable to delete the classes it created and my application is no longer able to run. MS Access informs me that the connection may have been lost. It has not, but the other features of the application will not work.



    I am at a lost as to the fix. I have tried rebuilding the database and running the repair, but to no avail.

    Thanks for any assistance.

    Jack Bouller

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    What was the import error you did? If I can replicate the issue might be able to determine a solution.

    If you want to provide db for analysis, follow instructions at bottom of my post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    jboulier is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Jun 2017
    Location
    California
    Posts
    2
    I used the export and import feature in the VBA application and it was saved out as a class from the backup database that I used to modify a feature that would import data from an sql server. Then I tried to import to the live application using the VBA feature and it brought it in as a class. From there I kept getting errors that the database has lost connection. I was unable to remove the class modules from the application I resolve the issue by using the import feature in external data from the original database of the test information to the working copy that I had been modifying. I have a resolution, but still do not understand why the application would not allow me to remove the class. It may have something to do with rename the form.

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

Similar Threads

  1. Unable to automatically delete a table
    By adammitchell in forum Access
    Replies: 6
    Last Post: 06-05-2017, 08:32 AM
  2. Replies: 9
    Last Post: 09-01-2016, 09:40 PM
  3. Replies: 6
    Last Post: 01-13-2015, 04:54 PM
  4. Unable to delete data in table
    By kazaccess in forum Access
    Replies: 1
    Last Post: 07-25-2013, 02:41 PM
  5. unable to delete a hyperlink record
    By markjkubicki in forum Programming
    Replies: 3
    Last Post: 03-15-2012, 10:57 AM

Tags for this Thread

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