Solved

SharePoint 2007 Lists - Generating unique numbers

Posted on 2011-03-24
3
613 Views
Last Modified: 2012-05-11
Hi ....Help!  I have a problem with trying to generate a unique ID as a 'Project Number' in SharePoint.  I have used the 'Calculated' column option in a list in sharepoint 2007 which uses the automatically generated ID column coupled with another column.  The calculation i am using is '=[Building Code]&ID'.  This works once but then on subsequent entries does not return the ID number.  If you go back in and edit the list and resave it then automatically updates the entry (so this means manual intervention which does not make sense).  Does anyone have any ideas on how to make this work or other ideas on how to generate a unique ID in sharepoint?

for example CG1234 (eg CG being the building code and 1234 being the ID field)
0
Comment
Question by:SpaceManagers
  • 2
3 Comments
 
LVL 14

Expert Comment

by:GeorgeGergues
ID: 35206501
this is not really the best way , but you are on the correct track.

Use SharePoint designer to build a workflow to set a column value with that string

that is the best way to do it , to avoid concurrency.

Best of luck.
0
 
LVL 9

Expert Comment

by:kukdai
ID: 35211163
i would prefer to creat a column autopopulate with the current date and time writing some javascript that will make the column unique all the time.
let me know if you need a sample
0
 
LVL 14

Accepted Solution

by:
GeorgeGergues earned 500 total points
ID: 35214091
that does not set a true value for the item in the list .

That will only show a value not attached to the tiem .

I am afraid the only solution I offered is the only way I know off.


Thanks
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

MS Access 2003 or later To MySQL Migration Project Hello All, this is my second article in the category of MS-OFFICE Automation. In internet I am not able to find any comprehensive resource on the Migration of MS Access back-end to MySQL so I fin…
User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now