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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code to update field not working

Status
Not open for further replies.

vistor

Technical User
Dec 22, 2000
164
US
Hi,

I have the email field properties on the form set to Is Hyperlink = Yes.

Then I have this code on the AfterUpdate event:

Private Sub Ins_Email_AfterUpdate()
Me![Ins_Email] = "#mailto:" & Left(Me![Ins_Email], InStr(1, Me![Ins_Email], "#") - 1) & "#"
End Sub

But it is not working. Not getting any error message generated but email stays as a http hyperlink.

Any ideas on what is wrong?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top