Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Programming

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 12-15-2008, 09:10 PM
Novice
 
Join Date: Dec 2008
Posts: 1
proudestmnky1 is on a distinguished road
Default create sequential id

I need to create an id for each new record. I have four tables that each contain information about a different type of customer. I need the ids to be sequential across all of the tables. For example, if the last id assigned was abc-08-001, the next id, no matter which table it is for, needs to be abc-08-002.

The "abc" will be the same for every id and the "08" is the last two digits of the year. The last 3 digits need to increase by 1 with each new id.

Can anyone help me with this??

thanks
Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create a macro or code to... Eaglezinha Access 1 10-20-2008 02:01 PM
How to create a Password Form heman85 Forms 0 08-08-2008 07:24 PM
I can't create a drop-down list box cpuser Access 4 02-18-2008 07:11 AM
Create the link accessman2 Access 0 03-12-2006 10:16 PM
automatically create queries GEORGIA Programming 8 01-23-2006 11:35 AM


All times are GMT -8. The time now is 03:04 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.