Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

您可以在 Access 桌面資料庫中使用 LockNavigationPane 宏指令,防止使用者刪除 [導航窗格] 中顯示的資料庫物件。

附註: Access Web App 中無法使用 LockNavigationPane 宏指令。

設定

LockNavigationPane 宏指令具有下列自變數。

巨集指令引數

描述

鎖定

取 [是 ] 以鎖定 [導航窗格],或 [ ] 以解除鎖定 [導航窗格]。

註解

鎖定導航窗格可防止您刪除資料庫物件或將資料庫物件剪下至剪貼簿。 這 並不會 阻止您執行下列任何一項作業:

  • 將資料庫物件複製到剪貼簿

  • 從剪貼簿貼上資料庫物件

  • 顯示或隱藏導航窗格

  • 選取不同的導航窗格組織配置

  • 顯示或隱藏 [導航窗格] 的區段

若要在 VBA 模組中執行 LockNavigationPane 宏指令,請使用 DoCmd 物件的 LockNavigationPane 方法。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×