Validation code

I am requiring a validation code inorder to validate a certain feild. The information entered into this field must be a 5-character code, which included 2 letters at the start and 3 numbers at the end. What is the script required to do this validation, if i wish to validate it by calculation, many thanks
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

In field definition, use control tab, and check "checked by calculation".

left(field,2 ) >=aa and
left(field,2 ) <= ZZ and
right(field,3 ) >=000 and
ight(field,3 ) <=999 and
length (field)=5

If the conditon is not met , it will issue the msg specified at the bottom of the control tab upon field exit.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I'm getting a strange feeling of déjà vu...

that's true, but I could not find the topic to redirect him, do you remember where that was?
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

sorry bill, just saw it, 4 lines down, I thought it was much older, so only looked in the classified ones.
No problem, my friend.
I just thought it was funny to get two such similar questions so close together. Almost... Spooky....

On top I can't really say my answer is far different from yours...!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
FileMaker Pro

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.