I have a table with text field, in which url is stored (example : '
http://localhost/shared documents/doc123.doc'). I want to add a button to table's web part to open this URL when button is clicked.
Any ideas? It HAS to be run from the specific table, because the url is linked to the specific record.
Comments
the only way i can imagine is that you "hard code" this functionality based on table no and field no.
It should be similar to the functionality where images (BLOBS) are generated. There you may manipulate the field value to look like:
"<a href=xxx>Your caption</a>"
(should be somewhere in the format or support functions).
Sorry that i have no codeunits or numbers.
HTH,
Rainer
1) Does a BLOB field take up a lot of additional space in the database or is it just a pointer to the actual file?
2) I haven't managed to use the SHOWPICTURE functionality - not to sure how to link it to the table en EP (for example, showing the picture field on the item card). I need a bit of directions here.
Thanks so far.
Of course, if you need only link to the file, you can save this link in text field and you do not need BLOB.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
This did the trick for me! \:D/
Tino Ruijs
Microsoft Dynamics NAV specialist