Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
If field contains @
Message
From
11/05/2004 20:52:07
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00903039
Message ID:
00903042
Views:
23
This message has been marked as a message which has helped to the initial question of the thread.
If "@" $ fieldname
   MessageBox("Valid e-mail")
Else
   MessageBox("Not valid e-mail")
Endif

OR

MessageBox(IIF("@" $ fieldname, "Valid e-mail", "Not valid e-mail"))
>How can I check a e-mail by adapting the idea below
>
> if field contains @
> = messagebox "valid e-mail"
> else
> = messagebox " not a valid e-mail"
>endif
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform