Results 1 to 5 of 5
  1. #1
    Ed Mattison is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Sep 2015
    Posts
    7

    Why doiesn't my primary key show up on a datasheet view?


    I have an ordinary table with 20 fields and in the design view the primary field is shown as an autonumber, but it doesn't appear in the datasheet view. This never happened to me before. Thanks for any ideas you can give me. Ed

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    This is when viewing table directly?

    Fields can be set as hidden. Cursor over any field header and right click then choose Hide or Unhide.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    JamesDeckert is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Location
    Salina, KS
    Posts
    262
    My first thought is the hidden column, but you can also not see a column if you're opening a query instead of a table. If you're opening the table directly this won't be the case, but if a button is opening the table, it could be a query instead.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Yes, fields in table can be hidden, even when opening the table directly.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    Ed Mattison is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    Sep 2015
    Posts
    7
    Thanks to everyone. I clicked on unhide all and the primary key showed up. But how could I just have unhid the primary key. I tried hovering where the field name should be, but nothing showed up. Anyhow, I won't make that mistake again thanks to you. Ed

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 08-18-2015, 06:45 AM
  2. Replies: 3
    Last Post: 08-18-2013, 09:14 PM
  3. Expand Button in Datasheet View Doesn't show related table
    By CementCarver in forum Database Design
    Replies: 5
    Last Post: 07-17-2013, 11:48 AM
  4. Replies: 6
    Last Post: 11-21-2012, 05:10 PM
  5. Replies: 16
    Last Post: 09-12-2012, 08:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums