Results 1 to 4 of 4
  1. #1
    MadTom's Avatar
    MadTom is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jun 2018
    Location
    CT and VT
    Posts
    206

    Nav Buttons don't work in switchboard form?

    I have Navigation buttons in a form and they work great, but when I add my form to a Switchboard Form they don't work. They also will work in a Navigation Form. I believe it may have something to do with sub forms. One of my buttons listed Private Sub cmdNext_Click()


    On Error Resume Next
    DoCmd.GoToRecord , , acNext
    End Sub

    What do I need to change or add?
    Thanks!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    What do you mean by 'Switchboard' form - created with Switchboard wizard? Most experienced developers avoid this. There is a reason MS deprecated the tool.

    I have never used either Switchboard or Navigation Form.

    What does "don't work" mean - error message, wrong result, nothing happens?

    I tested this with normal form/subform and it works.
    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
    MadTom's Avatar
    MadTom is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jun 2018
    Location
    CT and VT
    Posts
    206
    Maybe I shouldn't use Switchboard wizard or
    Navigation Form! I was looking for different options and maybe a Main Form would be better. What I mean by not working, buttons don't do anything, no errors, but they work in basic form. Thanks for your reply!

  4. #4
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,413
    A good standby for nav form is a main form with a tab control. The subforms (or even independent forms) can go on the tabs.

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

Similar Threads

  1. My database buttons no longer work
    By mcmcd99 in forum Access
    Replies: 21
    Last Post: 11-30-2017, 02:08 PM
  2. Replies: 6
    Last Post: 05-09-2014, 09:03 AM
  3. I cant get any buttons on my switchboard :(
    By Nick Lingenfelter in forum Access
    Replies: 1
    Last Post: 02-22-2013, 03:33 PM
  4. Switchboard buttons don't work
    By ComputerPower in forum Access
    Replies: 1
    Last Post: 02-17-2012, 07:59 PM
  5. Eventprocedure to work with switchboard
    By Tari in forum Queries
    Replies: 4
    Last Post: 12-09-2011, 12:19 PM

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