I have a Switchboard with two buttons on it. If I click on the first button the switchboard minimizes and when I am done with the form. I click on the “Close Form” button. The form closes and the Switchboard pops back open. Now my second button when I click on it, the form opens up, but the switchboard stays right there on the screen with the form behind it.When I click on its “Close Form” button, form closes.<\/p>\n
Advertisement
I am still very much a novice, since I have not really done anything in Access since Access 2007. Where would the code or properties be, so I can fix this second button?<\/p>\n
With the form open in design view, right click the button → properties → click events tab, OnClick , ellipsis next to event procedure opens the code window<\/p>","upvoteCount":1,"datePublished":"2018-07-27T18:33:39.000Z","url":"https://community.spiceworks.com/t/access-2016-minimize-restore-switchboard/664658/3","author":{"@type":"Person","name":"kevinhughes2","url":"https://community.spiceworks.com/u/kevinhughes2"}},"suggestedAnswer":[{"@type":"Answer","text":"
I have a Switchboard with two buttons on it. If I click on the first button the switchboard minimizes and when I am done with the form. I click on the “Close Form” button. The form closes and the Switchboard pops back open. Now my second button when I click on it, the form opens up, but the switchboard stays right there on the screen with the form behind it.When I click on its “Close Form” button, form closes.<\/p>\n
I am still very much a novice, since I have not really done anything in Access since Access 2007. Where would the code or properties be, so I can fix this second button?<\/p>\n
End Sub<\/p>","upvoteCount":0,"datePublished":"2018-07-27T17:57:59.000Z","url":"https://community.spiceworks.com/t/access-2016-minimize-restore-switchboard/664658/2","author":{"@type":"Person","name":"jeanniejones","url":"https://community.spiceworks.com/u/jeanniejones"}},{"@type":"Answer","text":"
Thank you, I was blind as a bat, It was right there in front of my eyes when I looked at the first button again. It was just one of those days.<\/p>\n
BTW, does anybody know how to add a file to this forum, in case I want someone to look at one of my Access database? I tried attaching a .zip and .rar and .accdb. This forum would not accept them.<\/p>\n
Again thanks for the help with my Access question above. <\/p>","upvoteCount":0,"datePublished":"2018-07-30T10:42:51.000Z","url":"https://community.spiceworks.com/t/access-2016-minimize-restore-switchboard/664658/4","author":{"@type":"Person","name":"randyduly","url":"https://community.spiceworks.com/u/randyduly"}},{"@type":"Answer","text":"
If it’s VBA code that you’re having trouble with, just copy it from the code window, click </> and paste it in the pop-up as vb.net<\/a><\/p>\n