Primary key

  • Thread starter Thread starter Richi
  • Start date Start date
R

Richi

Just need some help with the design of a database.....
Field is nummeric and a primary key, and must be 5
characters.......any way to validate that the user only
enters 5 characters.........

Also a short date field and need to check that it is
greater than Jan 1, 2003......any suggestions...
 
You can use a combination of Field Length and Input Mask to limit the number
of characters to 5. To validate a field value, set the Validation Rule to:
#1/1/2003#

Duane Hookom
MS Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Creating a key consisting of two columns 1
Primary Key Cascade Question 5
Multiple Primary Keys 2
Help - Primary key questions 13
Can't assign primary key 3
Access Access anti-trim?? 0
2 primary keys 3
Possible corrupted database 2

Back
Top