Issue with DOCPROPERTY field inside LINK field

  • Thread starter Thread starter sven
  • Start date Start date
S

sven

Hello,

I have some Documents including LINK fields to Excelfiles.
To avoid the problem with absolute paths I followed Cindy Meisters tips
to use a DOCPROPERTY field inside the LINK field and a custom property
containing the directory of the file.

This works fine however there is an issue. When I refresh the LINK
field, my DOCPROPERTY field is replaced with a string containing the
content of my custom property. So I loose my dynamic behavior.

Perhaps someone knows the problem and could help me. I also hope Cindy
is finding my post. She seems to use this methode very often so I'm
sure she was confronted with this problem to.

Best regards,
Sven
 
Your DOCPROPERTY field must be INSIDE the LINK field, replacing the part
that gives the link address path. It sounds as though it isn't.


Hello,

I have some Documents including LINK fields to Excelfiles.
To avoid the problem with absolute paths I followed Cindy Meisters tips
to use a DOCPROPERTY field inside the LINK field and a custom property
containing the directory of the file.

This works fine however there is an issue. When I refresh the LINK
field, my DOCPROPERTY field is replaced with a string containing the
content of my custom property. So I loose my dynamic behavior.

Perhaps someone knows the problem and could help me. I also hope Cindy
is finding my post. She seems to use this methode very often so I'm
sure she was confronted with this problem to.

Best regards,
Sven

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Business Analyst, Consultant
Technical Writer.
Sydney, Australia +61 (0) 4 1209 1410
 
Good morning

When pressing Alt+F9 my fileds are looking like this

{ LINK Excel.Sheet.8 "{ DOCPROPERTY Datenpfad }Tabelle.xls" \a \f 0
\p }

where Datenpfad is a custom property containing some string like
c:\\dokumente\\
 
and my problem is that after refreshing the fields my fileds look like
this

{ LINK Excel.Sheet.8 "C:\\Dokumente\\Tabelle.xls" \a \f 0 \p }
 
Hi Sven

and my problem is that after refreshing the fields my fileds look like
this

{ LINK Excel.Sheet.8 "C:\\Dokumente\\Tabelle.xls" \a \f 0 \p }

with the cursor somewhere between the "...", hit SHIFT-F9 (just to see
that the field is indeed gone (that's what I meant in the German forum :-)).


Robert
 
with the cursor somewhere between the "...", hit SHIFT-F9 (just to see
that the field is indeed gone (that's what I meant in the German forum :-)).
I will answer youn in the german forum to

well it is a little bit confusing...

I tried it with shif+f9 and he showed me the field in one of two link
fields...
the text I get from the DOCPROPERTY field was inside some greyed
brackets

after pressing undo and refreshing again it worked for none of them :(
it is really frustating
 

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

Back
Top