Thread: Field format
View Single Post
  #1  
Old February 17th, 2010, 05:15 PM posted to microsoft.public.access.tablesdbdesign
szag via AccessMonster.com
external usenet poster
 
Posts: 99
Default Field format

I need to have a project number that forces ensures that the field has 5
parts:

1. Always the letter C
2. Last two years of Year
3. 3 digit number (sequential)
4. "-"
5.2 digit sequential (usually just 00)

So the first Project in 2010 will be : C10000-00, 2nd will be C10001-00, 3rd
C10002-00 and so on

How do I enforce this in the field - both in the table and in the form...

Thanks!

--
Message posted via http://www.accessmonster.com