Results 1 to 4 of 4
  1. #1
    Daryl2106 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    167

    VBA Trouble

    Hello,

    Our DB has been working fine and then all of a sudden I get this (attached). It seems that some VBA got corrupted somehow.

    So far two forms have been affected where a selection query will not return any records after the field has been updated and the request has been made (button).



    Any thoughts and direction would be greatly appreciated.

    Thanks and take care,
    Daryl
    Attached Thumbnails Attached Thumbnails VBA.png  

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    I got this once or twice in my life. Occasionally, the db gets corrupted. (ALWAYS make backups)
    i would have to import the bad form.
    Another time I had to import EVERYTHING. Start a new blank db, then import all forms, modules, queries, etc.
    This very rare, but the backup saves the day.

  3. #3
    amrut is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2012
    Location
    Dubai
    Posts
    614
    Was this db opened/edited/compiled on another PC ?

  4. #4
    Daryl2106 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    167
    Thanks for the replies.

    No to the "Was this db opened/edited/compiled on another PC ?" as far as I know. It seems to have happened on my machine. I am the administrator.

    So I should try deleting and then import a saved copy of the corrupted form as a first measure?

    Thanks,
    Daryl

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

Similar Threads

  1. Having Trouble with Looping
    By mcfischer91 in forum Programming
    Replies: 4
    Last Post: 07-31-2014, 03:12 PM
  2. Trouble with Combo Box
    By djclntn in forum Forms
    Replies: 16
    Last Post: 02-21-2012, 05:59 PM
  3. Trouble with (R)
    By NOTLguy in forum Access
    Replies: 3
    Last Post: 10-29-2010, 11:55 AM
  4. Iff trouble
    By JackT in forum Access
    Replies: 3
    Last Post: 08-18-2010, 02:28 PM
  5. Expression trouble
    By ROB in forum Access
    Replies: 2
    Last Post: 06-08-2010, 09:36 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