When I opt to email someone from a form this was I
currently have coded.
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
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, ""
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