Thanks guys, I haven't created a custom field yet, look forward to it.. cheers.
Kind regards, Chris Milne From: [email protected] [mailto:[email protected]] On Behalf Of ken zheng Sent: Thursday, 30 July 2009 3:32 PM To: [email protected] Subject: RE: Pre-generated list order numbers I created a web service to generate the number so it can be used in infopath form as well. Ken ________________________________ Date: Thu, 30 Jul 2009 13:39:26 +1000 From: [email protected] Subject: Pre-generated list order numbers To: [email protected] 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 <http://www.codify.com/lists/ozmoss> Other lists you might want to join: http://www.codify.com/lists <http://www.codify.com/lists> ________________________________ 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 <http://www.codify.com/lists/ozmoss> Other lists you might want to join: http://www.codify.com/lists <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
