Validation rule for email field

R

Rocio_LB

I want to have a validation rule that enforces the use of "@" for the "email"
field of a table.
How is the validaton rule created? I am not very proficient in code, and
relativelly new to Access, but I have checked the Expression Builder and I
could not find an expression that will allow typing and undefinite amount of
caracters before and after the '@" symbol.
I will appreciate if someone could give me an indication of how this is
written.

Thank you for your help!
Rocio

ps. the same question has been posted in the 'programming' and 'design'
sections.
 
W

Wolfgang Kais

Hello "Rocio_LB".

Rocio_LB said:
I want to have a validation rule that enforces the use of "@" for the
"email" field of a table.
How is the validaton rule created? I am not very proficient in code,
and relativelly new to Access, but I have checked the Expression Builder
and I could not find an expression that will allow typing and undefinite
amount of caracters before and after the '@" symbol.

How about this:
Like "?*@?*.?*"
 
R

Rocio_LB

Wolfgang,
Thanks very much for taking the time to respond to my question. I haven't
yet tested the code... but it looks very much like what I am looking for. Tks
again!
 

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

Top