隐藏导航窗格 [英] Hiding the navigation pane

查看:50
本文介绍了隐藏导航窗格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,所以我需要隐藏导航窗格但很挣扎.

OK, so I need to hide the navigation pane but struggling.

我正在使用一个模块来隐藏它并尝试了以下但无济于事:

I am using a module to hide it and have tried the following but to no avail:

DoCmd.NavigateTo "acNavigationCategoryObjectType"
DoCmd.RunCommand acCmdWindowHide

我也试过:

 DoCmd.SelectObject acTable, , False

两者都不起作用 - 有什么想法吗?

Neither are working - Any ideas?

推荐答案

试试这个:

 DoCmd.SelectObject acTable, , True
 DoCmd.RunCommand (acCmdWindowHide)

如果这不起作用,请使用存在的表名,而不是跳过 docmd.selectobject 中的第二个参数

if that doesn't work, use a table name that exists instead of skipping that second argument in docmd.selectobject

这篇关于隐藏导航窗格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆