PC Review


Reply
Thread Tools Rate Thread

Access auto numbers

 
 
ksgolfer
Guest
Posts: n/a
 
      4th Nov 2009
I have just started using access 2007. I used 2000 in the past. I need help
with handling auto numbers. In my 2000 data base I had a Serial Number field
that I had populated by auto number seeded from a table with a number
starting at 1000. I'm having a problem reconstructing a similar database
using auto number in that field. I can change the format to get the 4 digit
number, but when I run a query to find a certain serial number, I can't find
it unless I enter just the last 3 digits. How can I create a serial number
field starting at 1000 in stead of 1?

I am not up on Visual Basic coding. It would to build the serial number
using the format of the last 2 digits of the year and a 4 digit number, like
09-1001. Can anyone make this simple?
 
Reply With Quote
 
 
 
 
Jeanette Cunningham
Guest
Posts: n/a
 
      4th Nov 2009

"ksgolfer" <(E-Mail Removed)> wrote in message
news:7C4E7BD2-4C22-4FEE-93D2-(E-Mail Removed)...
>I have just started using access 2007. I used 2000 in the past. I need help
> with handling auto numbers. In my 2000 data base I had a Serial Number
> field
> that I had populated by auto number seeded from a table with a number
> starting at 1000. I'm having a problem reconstructing a similar database
> using auto number in that field. I can change the format to get the 4
> digit
> number, but when I run a query to find a certain serial number, I can't
> find
> it unless I enter just the last 3 digits. How can I create a serial number
> field starting at 1000 in stead of 1?
>
> I am not up on Visual Basic coding. It would to build the serial number
> using the format of the last 2 digits of the year and a 4 digit number,
> like
> 09-1001. Can anyone make this simple?



 
Reply With Quote
 
Jeanette Cunningham
Guest
Posts: n/a
 
      4th Nov 2009
hi ksgolfer,
see if this sample database from Rogers access library will help you.
The sample is about creating your own autonumbers.

http://www.rogersaccesslibrary.com/f...ts.asp?TID=395


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia

"ksgolfer" <(E-Mail Removed)> wrote in message
news:7C4E7BD2-4C22-4FEE-93D2-(E-Mail Removed)...
>I have just started using access 2007. I used 2000 in the past. I need help
> with handling auto numbers. In my 2000 data base I had a Serial Number
> field
> that I had populated by auto number seeded from a table with a number
> starting at 1000. I'm having a problem reconstructing a similar database
> using auto number in that field. I can change the format to get the 4
> digit
> number, but when I run a query to find a certain serial number, I can't
> find
> it unless I enter just the last 3 digits. How can I create a serial number
> field starting at 1000 in stead of 1?
>
> I am not up on Visual Basic coding. It would to build the serial number
> using the format of the last 2 digits of the year and a 4 digit number,
> like
> 09-1001. Can anyone make this simple?



 
Reply With Quote
 
Jeff Boyce
Guest
Posts: n/a
 
      4th Nov 2009
Jeanette's offered a link to a way to build your own... take it!

The Access Autonumber is intended to be used as a unique identifier. It is
generally unfit for human consumption, and at some point, almost guaranteed
NOT to remain sequential.

Good luck!

--

Regards

Jeff Boyce
Microsoft Access MVP

Disclaimer: This author may have received products and services mentioned in
this post. Mention and/or description of a product or service herein does
not constitute endorsement thereof.

Any code or psuedocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"ksgolfer" <(E-Mail Removed)> wrote in message
news:7C4E7BD2-4C22-4FEE-93D2-(E-Mail Removed)...
>I have just started using access 2007. I used 2000 in the past. I need help
> with handling auto numbers. In my 2000 data base I had a Serial Number
> field
> that I had populated by auto number seeded from a table with a number
> starting at 1000. I'm having a problem reconstructing a similar database
> using auto number in that field. I can change the format to get the 4
> digit
> number, but when I run a query to find a certain serial number, I can't
> find
> it unless I enter just the last 3 digits. How can I create a serial number
> field starting at 1000 in stead of 1?
>
> I am not up on Visual Basic coding. It would to build the serial number
> using the format of the last 2 digits of the year and a 4 digit number,
> like
> 09-1001. Can anyone make this simple?



 
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
Help with auto numbers in Access =?Utf-8?B?UmVuZWU=?= Microsoft Access 7 29th Dec 2009 07:19 PM
Help with auto numbers in Access Arvin Meyer [MVP] Microsoft Access 0 25th Feb 2006 03:49 PM
Auto Incrementing Numbers (missing numbers) =?Utf-8?B?RG91Zw==?= Microsoft Access Database Table Design 2 17th Feb 2004 02:08 AM
Access auto-inserts numbers in data entry Sue McCain Microsoft Access Queries 1 30th Sep 2003 11:32 PM
auto numbers in access shelley Microsoft Access Database Table Design 3 4th Sep 2003 11:07 PM


Features
 

Advertising
 

Newsgroups
 


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