Kamis, 21 Januari 2021

Re: [MSAccessProfessionals] 2013 Hide Database window

On Thu, Jan 21, 2021 at 07:57 AM, Patricia Mapes wrote:
Hi,
Does anyone have a good solution for hiding the database windows for access apps.
I would prefer a startup solution but in desperate times I could go firm to form.
Thank you,
Patty
Hi Patty

Here's another way. Call this public function using True argument to show and False argument to hide.
Public Function ShowHideNavPane(bolShow As Boolean)
'Purpose  : Show or hide Nav Pane.
'DateTime : 11/23/2020 11:34
'Author   : Bill Mosca
'Params   : bolShow True=show; False=hide
 
    'Need to select any table in Nav Pane before you can hide it.
    If bolShow = False Then
        DoCmd.SelectObject acTable, , True
        DoCmd.RunCommand acCmdWindowHide
    Else
        DoCmd.SelectObject acTable, , True
    End If
 
End Function

 
--
Regards,
Bill Mosca, Founder - MS_Access_Professionals
Microsoft Office Access MVP 2010-2016
My nothing-to-do-with-Access blog
 
_._,_._,_

Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#115845) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [sugeng.panjalu.access@blogger.com]

_._,_._,_

Tidak ada komentar:

Posting Komentar