PC Review


Reply
Thread Tools Rate Thread

Auto Number Seed ?

 
 
Arsalan
Guest
Posts: n/a
 
      14th Feb 2005
How can I reset or change the value of autonumber in MS Access ? Doesn't it
have the function like NEXTVAL or CURVAL as in Oracle ? Or is autonumber
field more rigid ? Or is it possible to make sequence in Access so I can
manually do it ?



 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      14th Feb 2005
Arsalan,

You can use an uniquenumber, what is a GUID.

http://msdn.microsoft.com/library/de...wguidtopic.asp

I hope this helps?

Cor


 
Reply With Quote
 
Cor Ligthert
Guest
Posts: n/a
 
      14th Feb 2005
Uniqueidentifier


 
Reply With Quote
 
Paul Clement
Guest
Posts: n/a
 
      14th Feb 2005
On Mon, 14 Feb 2005 15:40:26 +0500, "Arsalan" <(E-Mail Removed)> wrote:

¤ How can I reset or change the value of autonumber in MS Access ? Doesn't it
¤ have the function like NEXTVAL or CURVAL as in Oracle ? Or is autonumber
¤ field more rigid ? Or is it possible to make sequence in Access so I can
¤ manually do it ?
¤
¤

The autoincrement data type in MS Access and SQL Server is different than Oracle. There is no need
to call a function, it is generated automatically upon insert of a new row.

You can use an AutoIncrement Column on the client, with ADO.NET, but then that would preclude you
from using a corresponding column of that type at the database level.

http://msdn.microsoft.com/library/de...ementtopic.asp


Paul ~~~ (E-Mail Removed)
Microsoft MVP (Visual Basic)
 
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
(word 97-2003) Can you seed the page number? RSteph Microsoft Word Document Management 2 10th Mar 2008 12:28 PM
primary key collisions due to auto reseeding of auto number field. simcon Microsoft Access 5 18th Dec 2007 04:14 AM
Make auto number display year and an increasing number (yy-###) =?Utf-8?B?bWV0cnVuZWM4Ng==?= Microsoft Access 4 26th Jan 2006 09:00 PM
Access 2000 auto number not giving right master record number. =?Utf-8?B?TXVzaWNtYW5ib2dncw==?= Microsoft Access 5 20th Aug 2005 06:27 AM
Seed numbers for random number generation, uniform distribution =?Utf-8?B?ZGFyZWJv?= Microsoft Excel Misc 2 6th Dec 2004 05:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:55 PM.