Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / May 2005

Tip: Looking for answers? Try searching our database.

Autonumber

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SupIndBen - 26 May 2005 16:52 GMT
I would like to set a different number other than 1 as the autonumber.
Klatuu - 26 May 2005 18:12 GMT
Sorry, it is not possible.  Autonumbers handle themselves.

> I would like to set a different number other than 1 as the autonumber.
Lynn Trapp - 26 May 2005 19:11 GMT
I'm not sure why it matters what the value of an autonumber field should be,
since the purpose of a unique identifier for a record that can be used to
join tables together. If the value matters, then you may want to consider a
different type of field.

If you are insistent on changing the seed value for your autonumber field,
though, you can run an insert query that sets the value of the field to 1
less than you want it to start with and then delete that record. For
example, if you want it to begin with 1001 then run the following query.

INSERT INTO YourTable (YourAutoNumberField)
VALUES (1000);
Signature

Lynn Trapp
MS Access MVP
www.ltcomputerdesigns.com
Access Security: www.ltcomputerdesigns.com/Security.htm
Jeff Conrad's Big List: www.ltcomputerdesigns.com/JCReferences.html

>I would like to set a different number other than 1 as the autonumber.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.