Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Minimum field lengths in a table 1

Status
Not open for further replies.

Terrier

IS-IT--Management
Jan 29, 2003
18
0
0
GB
How can I specify the minimum field length in a table?

I have a field which MUST be 13 characters long, anything more or less is unacceptable.

Advice appreciated.
 
In table design view key into the validation rule box near the bottom of the screen

Len([myfield])=13

substituting the name of the field for myfield

If you want to exclude spaces nest a trim function within the Len function.

Access is not totally secure on this as a user form can be created that has the rule deleted but that requires a deliberate act.

Ken

 
Ken thank you, that works a treat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top