Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 7 64bit Access 2003
    Join Date
    Feb 2011
    Posts
    2,097
    "The plot thickens"!!!!

    First, I added the use of the Command() function to the VBA code sheet of a simple one-form utility app I wrote and compiled it..........no problem with there with the use of the Command() function.

    Now, the bizarre part:

    I decided to pursue the thought that I might simply have a corrupted mdb. With that, I first reset the debugger error message and halted the apps invocation Autoexec macro so I could turn on "Show db window on start-up". Then, I renamed the offending mdb file and restored a copy of the app's mdb file from an Acronis Backup/Restore archive from 1/10/14, (a backup copy of the app's mdb file from my old computer). That mdb ALSO entered Access Debug pointing to the Command() function as the offending VBA statement.

    With the Acronis restored mdb also failing, I simply deleted it and renamed the original mdb back to its nominal naming. Much to my amazement, when I then opened the originally offending mdb file from Windows Explorer, the app opened normally without error. ALSO, when I then navigated Windows Explorer to a copy of the app on a second hard-drive that is linked to a different back-end db, it too opened normally whereas before it was also failing in Debug indicating problems with the Command() function.

    Obviously, there's something astray here, but I'm in mystery as to what it might be. The common denominator with the scenario described above would seem to be Access 2003 itself. But, since I experienced failures on both my computer and my wife's suggests otherwise.



    I'm going to mark this issue resolved for lack of anything further to add.

    Thanks to all for your thoughts,
    Bill

  2. #17
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 7 64bit Access 2003
    Join Date
    Feb 2011
    Posts
    2,097
    A word to the wise..................

    I solved this problem back in early March of 2014 and didn't post a description of the solution. So now I have the problem again on another client's computer and I can't remember how I fixed it back in March. Dumb, Dumb, Dumb

    If I figure it out I'll post the solution.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 22
    Last Post: 05-21-2013, 07:54 PM
  2. Add reference in MS-Access
    By kashif.special2005 in forum Access
    Replies: 1
    Last Post: 03-12-2012, 10:19 PM
  3. need help with reference..
    By dada in forum Programming
    Replies: 3
    Last Post: 09-17-2010, 06:07 PM
  4. Reference to a Query
    By starhannes in forum Forms
    Replies: 5
    Last Post: 05-09-2010, 02:53 PM
  5. Combo Box Reference issue
    By Evocube in forum Forms
    Replies: 0
    Last Post: 11-09-2009, 09:04 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