I would recommend a custom field.  That has worked well for me in the past.

Regards,

Paul Turner
Senior Solutions Specialist

M: 0412 748 168 P: 08 8238 0912 F: 08 8234 5966
A: 66 Henley Beach Road, Mile End SA 5031
E: [email protected]<mailto:[email protected]>  W: www.dws.com.au

[cid:[email protected]]     [cid:[email protected]] 
<http://www.msteched.com/australia/Public/default.aspx>

ADVANCED BUSINESS SOLUTIONS LTD

This email and any files transmitted with it are confidential and are only for 
the use of the person to whom they are addressed. If you are not the intended 
recipient you have received this email in error and are requested to delete it 
immediately. Any opinion expressed in this e-mail may not necessarily be that 
of DWS Pty Ltd.
Please consider the environment before printing this email.

From: [email protected] [mailto:[email protected]] On Behalf Of Chris Milne
Sent: Thursday, 30 July 2009 1:09 PM
To: [email protected]
Subject: Pre-generated list order numbers

Afternoon folks,

I have a need to create a SP list which, when users create a new list item 
entry, a new unique 'order' number will be presented to them and displayed on 
the newform.aspx, before the list item is actually created.  So the first thing 
they see is a unique number (which stays with the item as a key value when they 
commit it and is from that point forward not changeable), followed by normal 
editable fields for the list item.

Anyone done anything like this before?  I'm thinking of creating two lists, one 
being the aforementioned list (call it list A) and the 2nd being a 
'administration' list which essentially contains a variable/value of the last 
used number.  When someone hits new on list A, it increments the value and 
gives the next number.  To do that, I'd need to edit newform.aspx to display 
the new ID value, then somehow store it with the list item when it gets 
committed and make it not editable on editform.aspx.  Anyone know of any better 
ways to achieve something like this?


Kind regards,

Chris Milne

________________________________
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
--------------------------------------------------------------------------------
Support procedure: http://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

<<inline: image001.jpg>>

<<inline: image002.jpg>>

Reply via email to