Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamically construct a (email) Hyperlink.

Status
Not open for further replies.

trevorwilliams2

Programmer
Mar 3, 2003
107
US
I recently moved all of the main forms in my database to popup forms and have hidden the access window.
It looks great but with the caveat of loosing some right click functionality.

I have been able to reconstruct most of this through VBA.

There is one problem I am running into.

I need to recreate inserting an email address into a text field using a command button next to the field.
I can’t seem to find a smooth way to do this.

Any suggestion s would be much appreciated!
 
In the commandbutton's click event handler you need to have something like:

txtEmail.text = "mailto:" & txtEmailAddress.txt

where txtEmailAddress is a field containing the email address.
This will need to be run once for each record.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top