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

having trouble making a hyperlink work correctly in email

Status
Not open for further replies.

DougP

MIS
Dec 13, 1999
5,985
US
this is the hyperlink
msg = msg & "\\servero2\Data Files\Task Order\App_Data\TaskOrder2007.mde"

But the whole thing does not show up blue only the first part up to the first space is blue.
I am using this code to create the email.
Code:
        msg = "Please see further details in database" & vbCrLf
        msg = msg & "\\servero2\Data Files\Task Order\App_Data\TaskOrder2007.mde" & vbCrLf
        msg = msg & vbCrLf
        msg = msg & "Project Number : " & Me![Project Number] & vbCrLf
        msg = msg & "Estimate Number: " & Me![EstimateNumber] & vbCrLf
        msg = msg & "Client Name: " & Me![Projects subform1]![Company] & vbCrLf
        
        DoCmd.SendObject acSendNoObject, "", actext, "hshoemaker@ohcnet.com", , , "Notification to Invoice Project # " & Me![Project Number], msg, True
I tried adding chr(34) to the string but that just added double quotes and did not make it a hyperlink at all.

TIA


DougP, MCP, A+
 
I think in HTML you need to replact the spaces with the % sign. HTH

I tried to have patience but it took to long! :) -DW
 
yes %20 is a space

\\servero2\Data%20Files\Task%20Order\App_Data\TaskOrder2007.mde

thank you

DougP, MCP, A+
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top