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

Create Hpyerlink In Body of E-Mail

Status
Not open for further replies.

sebell

Programmer
Oct 16, 2002
51
US
When I opt to email someone from a form this was I
currently have coded.


Code:
    Emp1 = DLookup("[Email]", "[tbl_EmployeeName]", "[EmployeeName] = [txtAssignedTo]")
    file = DLookup("[File]", "[tbl_EmployeeName]", "[EmployeeName] = [txtAssignedTo]")
    DoCmd.SendObject acReport, "rpt_EmailTask", "SnapshotFormat(*.snp)", Emp1, "", "", "NOTICE: A New Item Is In The Action Register - Please Review", file, False, ""
The problem with this is that I am getting a file name that could be up to 75 character eg. file:\\\Z:\Sherry%20Estep\Action%20Register\TMSS%20Action%20Register.mdb(I am using the %20 becuase of spaces and it was cutting the link without them in the email)

Is there anyway to have a link read 'Sherrys AR' but have the above link somewhere behind the scenes?

Thank you in advance for your help and I hope this made sense.
Sherry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top