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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Auto Number Client Matters
salam |
#2
|
|||
|
|||
Auto Number Client Matters
When we open a new client file, we code it with a matter number like 05-201
(05 for the year and 201 for the # of the matter) How do I create a primary key or at least where it will automatically enter the next sequential number when I enter the client info (05-201, 05-202 etc). I also want it to start over each year (06-01, 06-02 etc). Thank you for your help! |
#3
|
|||
|
|||
Auto Number Client Matters
It is better to store 2 items of data in 2 separate Fields (and your
"intelligent" key consists of 2 items of data). You will need to ensure that ALL data entries are to be done via Form so that you can use a Form Event to generate the SeqNo for the appropriate year. Search Google for Custom Number Sequence. -- HTH Van T. Dinh MVP (Access) "carrol" wrote in message ... When we open a new client file, we code it with a matter number like 05-201 (05 for the year and 201 for the # of the matter) How do I create a primary key or at least where it will automatically enter the next sequential number when I enter the client info (05-201, 05-202 etc). I also want it to start over each year (06-01, 06-02 etc). Thank you for your help! |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Microsoft Access Limits (file size, table records, users) | Mike | General Discussion | 4 | November 4th, 2005 03:01 AM |
How can I change a field property from text to Auto number? | Joyce | General Discussion | 5 | October 21st, 2005 05:55 PM |
Combo Box (1st) Populating Text Box (2nd) Field | AccessRookie | Using Forms | 1 | April 6th, 2005 11:37 PM |
Auto Number. Won't let user enter new record | Connie | General Discussion | 1 | April 4th, 2005 06:23 PM |
Auto paragraph number - then remove auto | Legalbits | General Discussion | 2 | May 17th, 2004 08:11 PM |