Hi Alan,
since the Comments field of a Report-object doesn't get preprocessed by XFRX, your various attempts cannot get you the expected results.
You could either modify the XFRX sourcecode (if you have bought the full package), or contact Martina via support@eqeus.com to add that functionality.
I also seem to remember, that you could rewrite the content of the reportfile fields on the fly with some trick, thus you could rewrite the content before it gets processed by XFRX.
wOOdy
-----Ursprüngliche Nachricht----- Von: ProFox profox-bounces@leafe.com Im Auftrag von Alan Bourke Gesendet: Dienstag, 23. August 2022 17:45 An: profoxtech@leafe.com Betreff: Creating a hyperlink on a PDF via XFRX.
I'm reporting to PDF using XFRX. I need to create a hyperlink to an internet URL.
The method XFRX uses for this is via a string in the Comments field of a report expression, so for example if I add a report expression with value = "Click Here" and put this in the comments:
#UR A HREF="https://www.rte.ie" https://tinyurl.com/yfzyu2s9
Then the created PDF will have a clickable "Click Here" link to that site. However I need to take the URL from a table field, i.e. not a static string, but I can't get it to work. I've tried:
#UR A HREF=#+mytable.myfield #UR A HREF=mytable.myfield #UR A HREF=eval(mytable.myfield)
Has anyone ever done this ?