Hi all
I have an issue inserting a hyperlink into a table. I have all of the detail going into the field but it is going in as only the text of the hyperlink not the file address.
How do I get the Record to read eg QSTR001 (this is the actual file name eg QSTR001.pdf) and the actual file path comes from a file picker which is working fantastically.
The coding that I have so far is:
Thx for the help
AK
I have an issue inserting a hyperlink into a table. I have all of the detail going into the field but it is going in as only the text of the hyperlink not the file address.
How do I get the Record to read eg QSTR001 (this is the actual file name eg QSTR001.pdf) and the actual file path comes from a file picker which is working fantastically.
The coding that I have so far is:
Code:
Set db = CurrentDb()
updatesql = "UPDATE Tbl_DespactchedDocuments SET Tbl_DespactchedDocuments.TransmittalRtn = Yes, Tbl_DespactchedDocuments.TransmittalRtnDate = Now(), Tbl_DespactchedDocuments.TransmittalRtnHLink = '" & Txt_HyperLink & "' WHERE (((Tbl_DespactchedDocuments.IssueNo)='" & Txt_IssueNo & "'));"
DoCmd.SetWarnings False
DoCmd.RunSQL (updatesql)
DoCmd.SetWarnings True
AK
Comment