943,851 Members | Top Members by Rank

Ad:
Jan 7th, 2007
0

Email Validation Rule with MS ACCESS

Expand Post »
Hi,

I am using MS ACCESS. I want to validate a particular field.
To check whether if its a valid email address with a @

So anyone have tutorials or website to reccomend or even reply off hand with the expression to check for @ in a string?

Thanks alot.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
LiBOC is offline Offline
73 posts
since Jul 2005
Jan 11th, 2007
0

Re: Email Validation Rule with MS ACCESS

Click to Expand / Collapse  Quote originally posted by LiBOC ...
Hi,

I am using MS ACCESS. I want to validate a particular field.
To check whether if its a valid email address with a @

So anyone have tutorials or website to reccomend or even reply off hand with the expression to check for @ in a string?

Thanks alot.
Yes
You Can Validate A Field Which Must Contain "@"
for That Open Table In Design View & in General Tab Go To "Validation Rule" & Edit Function with <A href="mailto:"InStr(1,[Email],"@")>=1">"InStr(1,[Email],"@")>=1"
& Creat A error Msg If u Want Please Note That In Above Syntex Second String "[Email]" is Name Of Field For Which You want To Add Validation
http://www.daniweb.com/techtalkforum...top\access.bmp
Reputation Points: 10
Solved Threads: 0
Newbie Poster
PCsrivastava is offline Offline
11 posts
since Jan 2007
Mar 9th, 2007
0

Re: Email Validation Rule with MS ACCESS

Yes
You Can Validate A Field Which Must Contain "@"
for That Open Table In Design View & in General Tab Go To "Validation Rule" & Edit Function with <A href="mailto:"InStr(1,[email],"@")>=1">"InStr(1,[email],"@")>=1"
& Creat A error Msg If u Want Please Note That In Above Syntex Second String "[email]" is Name Of Field For Which You want To Add Validation
http://www.daniweb.com/techtalkforum...top\access.bmp

Hi Prakash

Thanks for the message posted but I am havng troule to understand the logic you have shown in the code.

I have also tried this code in MS Access but it is not working. if you could then can you please send me the proper solutionI mean the code which works in your MS Access version which I can copy and paste and understand it.

This is not my assignment so don't think anything in that perspactive. I am doing advance stuff than this. So please do reply me either here or at my mail id which is : ankit_upadhyay2020@yahoo.com

Cheers.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ankz.upadhyay is offline Offline
1 posts
since Mar 2007
Mar 11th, 2007
0

Re: Email Validation Rule with MS ACCESS

Try looking at the InStr function examples on this page:

http://office.microsoft.com/en-us/ac...547271033.aspx

Chester
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
cpopham is offline Offline
65 posts
since Mar 2005
Jun 19th, 2008
0

Re: Email Validation Rule with MS ACCESS

Hey i am did this validation rule for a project i did 3 months ago, i readead your thread and found the way i did it. just place this text in to your validation rule field and it works a dream:
((Like "*?@?*.?*") And (Not Like "*[ ,;]*"))

it works perfectly and the company i just built a database for have no issues with it, it can even tell if someone enters " accedentally due to them not configuring their language settings properly. I hope all you guys out there find this useful.

cheers Remi
Reputation Points: 10
Solved Threads: 0
Newbie Poster
roamz101 is offline Offline
1 posts
since Jun 2008
Apr 27th, 2009
0

Re: Email Validation Rule with MS ACCESS

Click to Expand / Collapse  Quote originally posted by roamz101 ...
Hey i am did this validation rule for a project i did 3 months ago, i readead your thread and found the way i did it. just place this text in to your validation rule field and it works a dream:
((Like "*?@?*.?*") And (Not Like "*[ ,;]*"))

it works perfectly and the company i just built a database for have no issues with it, it can even tell if someone enters " accedentally due to them not configuring their language settings properly. I hope all you guys out there find this useful.

cheers Remi
Remi Gr8 Job. You are awesome! please be in contact me with me. my email is [email snipped]

Thanks
Last edited by Ezzaral; Apr 27th, 2009 at 3:24 pm. Reason: Snipped email. Keep it on site.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
milakrish is offline Offline
1 posts
since Apr 2009
Jan 30th, 2010
0
Re: Email Validation Rule with MS ACCESS
Thank you. Exactly what I was looking for!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jreinste is offline Offline
1 posts
since Jan 2010
Feb 9th, 2010
0
Re: Email Validation Rule with MS ACCESS
Translation.pk have expert translators for many languages including Arabic translation, English Translation, check republic, French translation, German Translation, Italian Translation, Japanese Translation, Russian Translation, Spanish Translation, Dutch Translation, Greek Translation, Hindi Translation, Korean Translation, Polish Translation, Portuguese Translation and in many more languages. I found best english translators at http://www.translation.pk/arabic-translation.html

Regards,
Hassan Bilal-8343
Reputation Points: 10
Solved Threads: 0
Newbie Poster
gliterhb36 is offline Offline
1 posts
since Feb 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in MS Access and FileMaker Pro Forum Timeline: Access suddenly has Data Type Mismatch in Criteria Expression
Next Thread in MS Access and FileMaker Pro Forum Timeline: ms access query calculations. QQ





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC