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.

您可以使用 CloseDatabase 巨集指令關閉目前的資料庫。

附註: 在 Access Web 應用程式中無法使用 CloseDatabase 巨集指令。

設定

CloseDatabase 巨集指令沒有任何引數。

註解

  • Access 不會執行巨集中接在 CloseDatabase 巨集指令後面的任何巨集指令。

  • 此巨集指令的作用與按一下 [檔案] > [關閉] 的效果相同。 執行 CloseDatabase 巨集指令時,如果有任何未儲存的物件為開啟狀態,則會出現相同於按一下 [關閉] 時所顯示的對話方塊。

  • 若要在 Visual Basic for Applications (VBA) 模組中執行 CloseDatabase 巨集指令,請使用 DoCmd 物件的 CloseDatabase 方法。

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!

×