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) and it is cutting the link off. For example, it may be cutting the link off at .mdb.
Is there anyway to have a link read 'Click here to go to your AR' but have the above link somewhere hidden behind the scenes within this statement?
Thank you in advance for your help and I hope this made sense.
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) and it is cutting the link off. For example, it may be cutting the link off at .mdb.
Is there anyway to have a link read 'Click here to go to your AR' but have the above link somewhere hidden behind the scenes within this statement?
Thank you in advance for your help and I hope this made sense.