Results 1 to 3 of 3
  1. #1
    dbasekiwi is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Mar 2016
    Posts
    1

    Angry Access Database forms not working properly - possible issue with Visual Basic

    Hi



    I am doing some work on a very old Microsoft Access database. It was probably built using Access 97!

    Because of the lack of sophistication of Access then, all of the actions of the database are triggered using a single VB file with subroutines.

    This database was copied to my server which meant that initially all of the connections to the database tables were routing to the wrong directory. I upgraded the old database to Access 2013, and I have rerouted all of the table locations which means that everything in the database front end and back end connect correctly.

    However, all of the Visual Basic routines are still not working, which means that whenever I push a button on the database to open a form, nothing happens.

    I don't know enough about VB to work out how to fix this. Do I have to alter the code somehow, or is there somewhere in Access I need to alter to get the code working properly again?

    Thanks
    Karl



  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 7 32bit Access 2013
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,543
    all of the Visual Basic routines are still not working
    have you checked that the code actually fires when a button is clicked and have you checked for missing references.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,428
    You also need to put the front end into a trusted location (see file>options>trust centre>trusted locations) and/or also enable the code

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

Similar Threads

  1. Using Access Instead of Visual Basic
    By dinz in forum Programming
    Replies: 2
    Last Post: 12-19-2019, 10:33 AM
  2. Replies: 2
    Last Post: 11-03-2014, 08:34 AM
  3. Replies: 6
    Last Post: 07-06-2012, 07:13 PM
  4. Converting Access to Visual Basic
    By Juicejam in forum Access
    Replies: 3
    Last Post: 04-12-2012, 02:39 AM
  5. how to use visual basic in access
    By learning_graccess in forum Access
    Replies: 3
    Last Post: 12-05-2011, 03:23 PM

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