Primary key

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

Duane Hookom

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


Top