Computer Learning Zone CLZ Access Excel Word Windows

The way to find out about our place in the universe is by examining the universe and by examining ourselves - without preconceptions, with as unbiased a mind as we can muster.

-Carl Sagan
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Search Seminar    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Email Includes Mailto
Michael Krailo 
   
6 years ago
The issue I'm having with this code is that some email addresses get inserted properly and others do not. For example, with Donald Barker the email address looks like this in the listbox: [email protected]#mailto:[email protected]

What would cause that extra mailto text to be inserted into the Email field? This happens with the Richard Rost customer as well.

Here is my relevant code. Just control names and variable names are slightly different.

   With Forms!CustomerF
      StrSQL = "INSERT INTO CustomerSearchT (CustomerID, Email, FirstName, " _
             & "LastName, LastAccessed, TimesAccessed) " _
             & "VALUES (" & !CustomerID & ", """ & !Email & """, """ _
             & !FirstName & """, """ & !LastName & """, #" & Now() & "#, 1)"
   End With
   MsgBox StrSQL
   DoCmd.SetWarnings False
   DoCmd.RunSQL StrSQL
   DoCmd.SetWarnings True
   FavoritesListBox.Requery

I don't think you noticed this problem due to the listbox column width that you selected. Increase the email column width to a larger size to see the problem.
Richard Rost  @Reply  
          
6 years ago
You're right. Good catch. Honestly, in the 8 years since I recorded that seminar, I've moved to the standpoint where I tell people to NOT use the Hyperlink data type at all. It's just too messy. I prefer storing email addresses and web URLs as plain text and then later on I can show tricks to make that into a hyperlink.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Search Seminar.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/6/2026 3:59:07 AM. PLT: 0s