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  

Auto Number Client Matters



 
 
Thread Tools Display Modes
  #1  
Old November 5th, 2005, 04:46 PM posted to microsoft.public.access
external usenet poster
 
Posts: n/a
Default Auto Number Client Matters


salam


  #2  
Old November 23rd, 2005, 10:52 PM posted to microsoft.public.access
external usenet poster
 
Posts: n/a
Default 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  
Old November 23rd, 2005, 11:28 PM posted to microsoft.public.access
external usenet poster
 
Posts: n/a
Default 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

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
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


All times are GMT +1. The time now is 07:35 AM.


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