Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Auto increment field in list

  Asked By: Jackie    Date: Mar 06    Category: Sharepoint    Views: 20445

i want to create a sharepoint list which have an auto
incremented index column which will automaticatically increment or
decrement whenever any item is added or removed from the list , is
there any way to do this ?



5 Answers Found

Answer #1    Answered By: Tory Sellers     Answered On: Mar 06

SharePoint add an incremental ID for every listitem added  to a list  and
every document added to a document library. Does that not work for you?

Answer #2    Answered By: Agustin Miranda     Answered On: Mar 06

actually i have a Issue list  , Sharepoint add an id(issueid) with
each issue.
e.g i have one item  id=1
now i edit this item , do some change and save it.
now if i add any new item share point give id=3 for this item , the
reason is tht on each edit share point increment  value of id by one.

Answer #3    Answered By: Arron Middleton     Answered On: Mar 06

From previous experimentation, observation and memory...

This is because the Issue list  has historical tracking of listitems. So,
every time that you save a listitem, a copy is first made of the
existing listitem creating a new listitem (this becomes the historical
listitem) and then your changes are applied to the original. That way
the ID of the original doesn't change.

If you don't want this behavior, use the Task list.

Answer #4    Answered By: Vance Hardin     Answered On: Mar 06

is there any way so i can
manage index(sequence no) in issue list  ,i just want to display a seq
no field  in my view page , and that should not change on edit , and
can automatically adjust after deleting any issue.

Answer #5    Answered By: Kareem Flynn     Answered On: Mar 06

I've heard this request before but I don't know of any solution. Why
can't you use the Task list  instead?

Didn't find what you were looking for? Find more on Auto increment field in list Or get search suggestion and latest updates.