Results 1 to 5 of 5
  1. #1
    slimjen is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    727

    Format textbox as email

    All, using Access 2016..i have a text box on a form that needs to record as email..how can I force my users to enter an email address?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    I would use a function of some sort (RegEx, etc) to validate the text as an email address. You could use the before update event of the textbox or the form. I've got an older one around here somewhere if you can't find one.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,016
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  4. #4
    slimjen is offline Expert
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    727
    Got it solved..thanks

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Glad you got it working.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 06-10-2019, 01:49 PM
  2. Replies: 3
    Last Post: 02-01-2018, 03:10 AM
  3. Display textbox value with percent format
    By AmanKaur123 in forum Programming
    Replies: 2
    Last Post: 01-18-2017, 11:23 AM
  4. Replies: 5
    Last Post: 06-16-2014, 08:01 PM
  5. How to turn the format of a textbox back to text?
    By opopanax666 in forum Programming
    Replies: 2
    Last Post: 11-29-2012, 08:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums