locked
Integer list item in sharepoint. RRS feed

  • Question

  • Hi,

    How to create Item as Integer in SharePoint List.

    I dont want to use ID Field of sharepoint.

    I have tried number filed but it is working like double.

    Thanks in advance.


    • Edited by Mike Walsh FIN Thursday, September 22, 2011 11:24 AM No need to have your text in Bold
    Thursday, September 22, 2011 10:33 AM

Answers

  • If you add a Number field you can set the number of decimal places accepted to 0.  Its still stored and handled as a Double, but it will only accept whole numbers on input.  That's about the best you can do with custom programming to create a custom field type.


    Paul Stork SharePoint Server MVP Chief SharePoint
    Architect: Sharesquared Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.
    • Marked as answer by Pengyu Zhao Thursday, September 29, 2011 2:20 AM
    Thursday, September 22, 2011 12:11 PM