locked
serial number column in document library RRS feed

  • Question

  • I need to know if i can some how add a column to document library which behave as a serial number column. As i add documents to document library it shows the total count of documents as serial number of last document. Should i use calculated column in this? If yes then what should be the forumla?
    Monday, August 13, 2007 3:03 PM

All replies

  • Have you tried the ID column? (There is also a GUID but I don't think that is what you want.)

     

    The ID is auto incremented when docs are added.

     

    Matthew

     

    Wednesday, August 15, 2007 7:44 PM
  • yeah i know about ID column but the problem is ID can not be reassigned. I want serial number kind of thing like if an item is deleted from middle then the assigned serial number get shuffled and reassigned so that last record have the serial number which shows the total number of docs in library starting from "1" as first doc.

    Wednesday, August 15, 2007 7:57 PM
  • See if I understand.

     

    If you have 4 docs you want 1,2,3,4.

     

    But if you delete document 2 you want 1,2 (was 3), 3 (was 4).

     

    Am I right? This seams odd since you will never know what the origial ID was and any reference to Doc 2 will now point to Doc 3.

     

     

     

    Friday, August 24, 2007 11:58 AM