Results 1 to 7 of 7
  1. #1
    LCM is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Location
    UK
    Posts
    7

    Changed Links now Form Opens In Edit Mode Not Add

    I updated my tables in my linked table manager to tables with exact same table names etc just more up to date data.

    however now when i open up my form using my switchboard it opens a record that already exists not a new record.

    i have tested this and it is definitely due to me changing my links but i do not understand the table names etc are all the same! just a different ODBC source.



    Do i need to change something somewhere?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    change the command to open the form

    docmd.openform "myform",,,,acFormADD

  3. #3
    LCM is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Location
    UK
    Posts
    7
    sorry im confused on where i enter this?

  4. #4
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    click your button > In the property sheet on the right click the event tab > click the three dots on the on click event (this will open the macro up) > click the drop down on data mode > Change to add.

    easy when you know how

  5. #5
    LCM is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Location
    UK
    Posts
    7
    its not a button though? its my switch board?

  6. #6
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    Doesn't your switch board consist of several buttons?

  7. #7
    LCM is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Location
    UK
    Posts
    7
    Nvm sorted thank you

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

Similar Threads

  1. Replies: 8
    Last Post: 06-26-2015, 06:00 PM
  2. Replies: 21
    Last Post: 08-05-2013, 06:23 AM
  3. Replies: 10
    Last Post: 07-25-2013, 07:36 AM
  4. Change form to edit mode using VBA
    By Richie27 in forum Programming
    Replies: 1
    Last Post: 06-05-2012, 04:39 AM
  5. Replies: 2
    Last Post: 09-01-2011, 10:48 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