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 會自動建立主索引鍵,並將其資料類型指派為 [自動編號]。

  1. 在 Access 中,開啟要修改的資料庫。

  2. 在 [功能窗格] 中,以滑鼠右鍵按一下要新增主索引鍵的資料表,然後按一下 [設計檢視]。

    提示: 如果沒看到 [功能窗格],請按下 F11 以顯示該窗格。

  3. 在資料表設計格線中找到第一個可用的空白列。

  4. [欄位名稱] 欄位中輸入名稱,例如「客戶識別碼」。

  5. 按一下 [資料類型] 欄位中的下拉式箭號,然後按一下 [自動編號]

  6. [欄位內容] 下的 [新值] 中,按一下 [遞增],以使用遞增數值作為主索引鍵,或按一下 [隨機],以使用隨機數值。

在 [資料工作表檢視] 中建立新的資料表時,Access 會自動建立主索引鍵,並將其資料類型指派為 [自動編號]。

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!

×