Hyperlink and nested CustomDocumentProperties - Cannot update Fiel

A

Alex

I'm using MS Word 2003.
I would like to create an hyperlink containing some Custom fields in its
address/value. Here is the line I use:
{ HYPERLINK { QUOTE "/test/"{ DocProperty testField }"_file.txt" }}

The above creates an hyperlink with the expected text BUT it will convert my
dynamic filed "testField" into a static value, i.e. the hyperlink text won't
be updated if I change "testField" value in my properties. Any ideas of how
to keep "testField" as a dynamic field in my hyperlink?

Alex/
 
M

macropod

Hi Alex,

A field code construction along the lines of:
{HYPERLINK {QUOTE "file://test/{DOCPROPERTY testField}_file.txt"}}
seems to work. I suspect the problem was caused by the HYPERLINK field inserting the 'file:/' prefix. Inserting it yourself seems to
cure the problem (Word 2000).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top