PC Review


Reply
Thread Tools Rate Thread

Creating a unique ID number in a form

 
 
=?Utf-8?B?U3R1bW9yYw==?=
Guest
Posts: n/a
 
      14th Dec 2005
I am creating a form that will pass the data to an Access database. I want
the form to have a unique ID number field that is automatically created when
I submit the form. I would like the number to be of the format
200512141,where the first 8 numbers are the current date, and the last number
starts at 1 and each new entry increments by 1. Any ideas on how to
accomplish this?

Thanks in advance.
 
Reply With Quote
 
 
 
 
clintonG
Guest
Posts: n/a
 
      15th Dec 2005
What platform is your web server?
Why in the form? Depending on your page and form submittals using the form
for this type of identifier could lead to end-user modification. It may be
better to do this on the server. I've done a lot of this type of task for
various projects. Its not a "here's how its done" code snippet. If you want
to talk turkey to hire it out I'm all ears...

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


"Stumorc" <(E-Mail Removed)> wrote in message
news:6F887A3A-643C-4E2E-BD7F-(E-Mail Removed)...
>I am creating a form that will pass the data to an Access database. I want
> the form to have a unique ID number field that is automatically created
> when
> I submit the form. I would like the number to be of the format
> 200512141,where the first 8 numbers are the current date, and the last
> number
> starts at 1 and each new entry increments by 1. Any ideas on how to
> accomplish this?
>
> Thanks in advance.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a unique number dympna.kearney@dhsspsni.gov.uk Microsoft Access 4 12th Feb 2007 12:21 PM
creating a unique number without using <autonumber> =?Utf-8?B?QkxUaWJicw==?= Microsoft Access 3 8th Oct 2005 09:34 PM
Creating an unique ID number in sequential order =?Utf-8?B?bmFuYXJhZG8=?= Microsoft Access VBA Modules 3 24th Sep 2005 07:36 PM
Re: Creating a unique ID number based on date and time =?Utf-8?B?Q2hyaXMgW01TRlRd?= Microsoft Excel Programming 0 4th May 2005 01:44 AM
Creating a unique code by incrementing substring of a number Shelley Microsoft Access Database Table Design 4 7th Sep 2003 09:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:48 PM.