Field.Result.Text not showing up

A

Abe

I am using VB code to insert a field of type "wdTypeAddin" to a footnote;
then I set the text being displayed by the field using the
footnotes(i).range.fields(i).result.text property. However this simply
appends the text to the end of the field (immediately after the closing curly
brace) and the text is not part of the field - it is just text sitting beside
the field.

Am I doing something wrong? How can I set the display text for this field?

Thank you!
Abe Fisher
 
C

Cindy M.

Hi Abe,
I am using VB code to insert a field of type "wdTypeAddin" to a footnote;
then I set the text being displayed by the field using the
footnotes(i).range.fields(i).result.text property. However this simply
appends the text to the end of the field (immediately after the closing curly
brace) and the text is not part of the field - it is just text sitting beside
the field.

Am I doing something wrong? How can I set the display text for this field?

This field was never designed to display a result, only to provide a place for
an Add-in to store some data (but I've never seen a spec on how to actually use
it for that, probably because it targeted C++ COM add-ins).

For displaying static text in a field use the QUOTE field.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

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