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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Help with Autonumber



 
 
Thread Tools Display Modes
  #1  
Old October 27th, 2004, 01:31 PM
Gary Scott
external usenet poster
 
Posts: n/a
Default Help with Autonumber

Hi,

I work in a small organisation and we have had a small database designed for
us by a NOW defuncted company. Within the database we use a screen for
invoicing on this screen it uses the "autonumber" facility however, the
system crashed many months ago and a IT cons. worked on it to get it working
however, he has now left the country (what is it with us and IT professionals
leaving). Because of this our numbering system has gone to pot. We wish to
restart the autonumbering system on a new number (we use a 5 digit number
XXXXX, and we want to begin the renumbering at 130000 is there a way i can
go into design view of the invoicing screen and change the numbers to begin a
new renumbering scheme.?????

Thanks for any help provided
  #3  
Old October 27th, 2004, 02:25 PM
Roger Carlson
external usenet poster
 
Posts: n/a
Default

Frankly, if you care what the value is, you are using the autonumber
incorrectly. The ONLY thing an autonumber field should be used for is to
create a unique primary key value for a record that will relate to records
in another table. If you are using the value in any sort of real-world
sense, you should create the number programmatically yourself. There are
various ways to do this. The simplest is to use the DMax function as
illustrated in a small sample database called "AutonumberProblem.mdb" that
you can find on my website (www.rogersaccesslibrary.com).

--
--Roger Carlson
Access Database Samples: www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/...UBED1=ACCESS-L

"Gary Scott" Gary wrote in message
news
Hi,

I work in a small organisation and we have had a small database designed

for
us by a NOW defuncted company. Within the database we use a screen for
invoicing on this screen it uses the "autonumber" facility however, the
system crashed many months ago and a IT cons. worked on it to get it

working
however, he has now left the country (what is it with us and IT

professionals
leaving). Because of this our numbering system has gone to pot. We wish to
restart the autonumbering system on a new number (we use a 5 digit number
XXXXX, and we want to begin the renumbering at 130000 is there a way i

can
go into design view of the invoicing screen and change the numbers to

begin a
new renumbering scheme.?????

Thanks for any help provided



 




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
Problem with AutoNumber accessmonk Database Design 2 September 30th, 2004 08:57 PM
keeping track of "Escaped" Autonumber records Paul James Using Forms 7 September 28th, 2004 12:06 AM
autonumber column BG Database Design 2 September 13th, 2004 07:45 PM
Data Access Page Autonumber General Discussion 0 June 30th, 2004 12:36 AM
autonumber Deepak General Discussion 3 June 18th, 2004 09:07 PM


All times are GMT +1. The time now is 03:45 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.