#1   Report Post  
Posted to microsoft.public.word.docmanagement
jezzica85 jezzica85 is offline
external usenet poster
 
Posts: 71
Default Field results question

Hi everybody,
I'm setting up a document in Word 2003 with many INCLUDETEXT fields in it,
once the documents from the fields exist, I'll update the fields to put them
in the document. In the meantime, does anyone know if there's a way to change
the error message, when the file doesn't exist, from "Error! Not a valid
filename!" to "filename doesn't yet exist."? That would make things much
easier, so I could remind myself exactly what files I still need.
Thanks a lot!
Jezzica85
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
macropod macropod is offline
external usenet poster
 
Posts: 1,002
Default Field results question

Hi jezzica85,

You could do an IF test on your INCLUDETEXT fields. For example:
{IF{INCLUDETEXT "C:\\Myfile.doc"}= "Error!*" "Filename doesn't yet exist."
{INCLUDETEXT "C:\\Myfile.doc"}}
Which will give you the error message of your choosing but, unless the
filname can be obtained from a bookmarked reference somewhere else, you
won't be able to get the actual filename into the message.

Cheers

--
macropod
[MVP - Microsoft Word]


"jezzica85" wrote in message
...
Hi everybody,
I'm setting up a document in Word 2003 with many INCLUDETEXT fields in it,
once the documents from the fields exist, I'll update the fields to put

them
in the document. In the meantime, does anyone know if there's a way to

change
the error message, when the file doesn't exist, from "Error! Not a valid
filename!" to "filename doesn't yet exist."? That would make things much
easier, so I could remind myself exactly what files I still need.
Thanks a lot!
Jezzica85



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
jezzica85 jezzica85 is offline
external usenet poster
 
Posts: 71
Default Field results question

Thanks macro,
That was very helpful. Maybe I'll try what you suggested with the bookmarks,
but even if I can't get it to work this already saves me some aggravation.
Thanks again,
Jezzica85

"macropod" wrote:

Hi jezzica85,

You could do an IF test on your INCLUDETEXT fields. For example:
{IF{INCLUDETEXT "C:\\Myfile.doc"}= "Error!*" "Filename doesn't yet exist."
{INCLUDETEXT "C:\\Myfile.doc"}}
Which will give you the error message of your choosing but, unless the
filname can be obtained from a bookmarked reference somewhere else, you
won't be able to get the actual filename into the message.

Cheers

--
macropod
[MVP - Microsoft Word]


"jezzica85" wrote in message
...
Hi everybody,
I'm setting up a document in Word 2003 with many INCLUDETEXT fields in it,
once the documents from the fields exist, I'll update the fields to put

them
in the document. In the meantime, does anyone know if there's a way to

change
the error message, when the file doesn't exist, from "Error! Not a valid
filename!" to "filename doesn't yet exist."? That would make things much
easier, so I could remind myself exactly what files I still need.
Thanks a lot!
Jezzica85




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating multiple TOC HRobinson Page Layout 7 October 18th 06 02:12 AM
Saving word document with field results not field codes Cambdoc Microsoft Word Help 2 July 14th 06 10:51 AM
How to replicate results / create new field names Michael New Users 4 May 24th 06 03:25 PM
REPEAT FIELD IN HEADER.....Additional Question Christi Formatting Long Documents 2 May 18th 06 08:34 PM
How do I replace 1 character with another in field code results? AWordInNeed Microsoft Word Help 4 August 29th 05 11:19 PM


All times are GMT +1. The time now is 02:12 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"