A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to reset record ID number to zero ?



 
 
Thread Tools Display Modes
  #1  
Old December 4th, 2004, 10:34 PM
tmb
external usenet poster
 
Posts: n/a
Default How to reset record ID number to zero ?

Is there a way to get MS Access to reset the record ID number to zero?

I've been testing a data base and want to reset the order id number to zero.

The products and other data are already in the data base in other tables, so
it is too late to have kept a copy with all rec id nums set to zero.

thanks for any help.


  #2  
Old December 4th, 2004, 10:38 PM
Douglas J. Steele
external usenet poster
 
Posts: n/a
Default

Compact the database.

Of course, it shouldn't really matter whether the numbers start at 0.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



"tmb" wrote in message
om...
Is there a way to get MS Access to reset the record ID number to zero?

I've been testing a data base and want to reset the order id number to

zero.

The products and other data are already in the data base in other tables,

so
it is too late to have kept a copy with all rec id nums set to zero.

thanks for any help.




  #3  
Old December 4th, 2004, 11:36 PM
Joseph Meehan
external usenet poster
 
Posts: n/a
Default

tmb wrote:
Is there a way to get MS Access to reset the record ID number to zero?

I've been testing a data base and want to reset the order id number
to zero.
The products and other data are already in the data base in other
tables, so it is too late to have kept a copy with all rec id nums
set to zero.
thanks for any help.


I assume you mean an autonumber field.

I suggest you may not want to use Autonumber for that use. Autonumbers
are designed to provide unique numbers. It in not designed to provide
numbers in order and for a number of reasons may not do so. As a result
using them in any application where the user sees the numbers is likely to
end up with confusion.

There are other ways of providing the numbers you want depending on the
particual application.


--
Joseph Meehan

26 + 6 = 1 It's Irish Math


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
automatically assign a unique number to a record when saved Dan Using Forms 8 December 1st, 2004 09:59 PM
Record Number Eli Using Forms 6 November 18th, 2004 09:50 PM
Appending a record from one table into a new table "n" number of t Robert H Running & Setting Up Queries 7 October 14th, 2004 10:09 PM
Count number of identical record fields Hugh Fox Running & Setting Up Queries 1 October 7th, 2004 07:56 AM
Form Doesn't Go To New Record Steve New Users 15 May 16th, 2004 04:33 PM


All times are GMT +1. The time now is 08:44 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.