Is there a way to insert a hyperlink to a local file into a Comment or Memo?
Sorry, I don’t think there is. I mean, you can insert any text you want into those areas, but turning into a clickable link is not possible in a comment or memo. You could try parsing out the link from the comment with custom code in a button. But if there is more than one link in the text, this wouldn’t really work.
Can you use attachments instead?
I was thinking that might be the answer but thought I would ask. We currently don’t have the Document Management module as we don’t allow attachments. I have been reading about the Attachment Link.
You could theoretically add a grid and create a BAQ to return that value in the grid and display that on the form / page you are on.
You can set grid columns to work as hyperlinks but not sure you can do that with a textbox and if so I don’t know how.
For a grid, the code is:
gridName.DisplayLayout.Bands[0].Columns[“Column_Name”].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.URL;
Oh and to use those links, this has to be set for the user in User Account Maintenance, otherwise when they click on the hyperlink it will do nothing.
We just use the attachments to link to a file on our local file server.
