Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Rishi Rishi is offline
external usenet poster
 
Posts: 4
Default Includetext doesn't update

Hi,

I am using Includetext to link to bookmarks in a separate file. The
bookmarks are section headings. I have managed to include the bookmarks
with the following field code:

INCLUDETEXT "C:\\Shared\\Filename.doc" BkmarkName \!

However I am having some problems:
1. I need to fill in the complete path of the document although both
the source and destination docs are in the same folder. I need to have
a relative path as the parent folder will change often.
2. The section number is being updated with the numbering of the
destination doc. I need to have the section number of the source doc.
3. When I change the section heading text in the source doc, the
destination doc isn't being updated (after selecting Update field).

Are these normal Word 2003 behaviour? Does anyone know how to solve
these issues?

Rishi

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom Stefan Blom is offline
external usenet poster
 
Posts: 8,428
Default Includetext doesn't update

1. I have never been able to get relative paths to work correctly with
INCLUDETEXT fields. It seems as if it works sometimes, and sometimes not.
Therefore, I'd say you have to use absolute paths. Note that if you need to
move the source files to a different location, you can display field codes
(press Alt+F9) in the target document and then use Edit | Replace to quickly
change the paths.

2. If you are referring to autonumbering, this is to be expected. The \!
switch only prevents you from updating *fields* in the source document.

3. The INCLUDETEXT field displays the *saved* version of the referenced
file(s). Make sure to save the source file before updating the field.

Also note that you can save changes made to an INCLUDETEXT field back to the
source document by pressing Ctrl+Shift+F7.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote:

Hi,

I am using Includetext to link to bookmarks in a separate file. The
bookmarks are section headings. I have managed to include the bookmarks
with the following field code:

INCLUDETEXT "C:\\Shared\\Filename.doc" BkmarkName \!

However I am having some problems:
1. I need to fill in the complete path of the document although both
the source and destination docs are in the same folder. I need to have
a relative path as the parent folder will change often.
2. The section number is being updated with the numbering of the
destination doc. I need to have the section number of the source doc.
3. When I change the section heading text in the source doc, the
destination doc isn't being updated (after selecting Update field).

Are these normal Word 2003 behaviour? Does anyone know how to solve
these issues?

Rishi


  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Rishi Rishi is offline
external usenet poster
 
Posts: 4
Default Includetext doesn't update

Thanks for the reply Stefan.

For 1. - ok, I'll use absolute paths.

For 2. -

a)how can I insert a bookmarked numbered section heading from a
document into another document while keeping the source numbering e.g.

4.13 *Administration of client databases*
etc...
Please refer to section *2.5 Backing up data* for explanations
regarding the database dump procedure.
etc...

where section 2.5 is in another document (in my case it is also setting
the bookmarked text's style on the entire paragraph).

b)can I link to the section like for cross-references (ctrl+click)?

For 3. - It is still not updating in the document I was working on.
However, I have created 2 new documents and the update seems to work
now on these. I am now wondering whether there is a cached copy of the
original document that is giving me the problem. Any idea?

Rishi

Stefan Blom wrote:
1. I have never been able to get relative paths to work correctly with
INCLUDETEXT fields. It seems as if it works sometimes, and sometimes not.
Therefore, I'd say you have to use absolute paths. Note that if you need to
move the source files to a different location, you can display field codes
(press Alt+F9) in the target document and then use Edit | Replace to quickly
change the paths.

2. If you are referring to autonumbering, this is to be expected. The \!
switch only prevents you from updating *fields* in the source document.

3. The INCLUDETEXT field displays the *saved* version of the referenced
file(s). Make sure to save the source file before updating the field.

Also note that you can save changes made to an INCLUDETEXT field back to the
source document by pressing Ctrl+Shift+F7.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote:

Hi,

I am using Includetext to link to bookmarks in a separate file. The
bookmarks are section headings. I have managed to include the bookmarks
with the following field code:

INCLUDETEXT "C:\\Shared\\Filename.doc" BkmarkName \!

However I am having some problems:
1. I need to fill in the complete path of the document although both
the source and destination docs are in the same folder. I need to have
a relative path as the parent folder will change often.
2. The section number is being updated with the numbering of the
destination doc. I need to have the section number of the source doc.
3. When I change the section heading text in the source doc, the
destination doc isn't being updated (after selecting Update field).

Are these normal Word 2003 behaviour? Does anyone know how to solve
these issues?

Rishi



  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom Stefan Blom is offline
external usenet poster
 
Posts: 8,428
Default Includetext doesn't update

2. a) In the source document, bookmark the paragraph you want to
reference. Then insert { SET myref "{ REF bookmarknamehere \n } { REF
bookmarkname here }" }.

In the target document, insert the following INCLUDETEXT field:

{ INCLUDETEXT "path_and_file_name_here" myref \! }

Repeat for additional paragraphs, using (obviously) a different
bookmark and a different SET field identifier.

b) I don't think this can be done. You could try inserting a hyperlink
instead.

3. Make sure that the field hasn't been locked which would prevent it
from updating. If it is locked, the Update Field command on the
context (right-click) menu will be greyed out, and nothing will happen
as you press F9.

Note: Ctrl+F11 locks, and Ctrl+Shift+F11 unlocks, any field in the
selection.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote in message
ps.com...
Thanks for the reply Stefan.

For 1. - ok, I'll use absolute paths.

For 2. -

a)how can I insert a bookmarked numbered section heading from a
document into another document while keeping the source numbering

e.g.

4.13 *Administration of client databases*
etc...
Please refer to section *2.5 Backing up data* for explanations
regarding the database dump procedure.
etc...

where section 2.5 is in another document (in my case it is also

setting
the bookmarked text's style on the entire paragraph).

b)can I link to the section like for cross-references (ctrl+click)?

For 3. - It is still not updating in the document I was working on.
However, I have created 2 new documents and the update seems to work
now on these. I am now wondering whether there is a cached copy of

the
original document that is giving me the problem. Any idea?

Rishi

Stefan Blom wrote:
1. I have never been able to get relative paths to work correctly

with
INCLUDETEXT fields. It seems as if it works sometimes, and

sometimes not.
Therefore, I'd say you have to use absolute paths. Note that if

you need to
move the source files to a different location, you can display

field codes
(press Alt+F9) in the target document and then use Edit | Replace

to quickly
change the paths.

2. If you are referring to autonumbering, this is to be expected.

The \!
switch only prevents you from updating *fields* in the source

document.

3. The INCLUDETEXT field displays the *saved* version of the

referenced
file(s). Make sure to save the source file before updating the

field.

Also note that you can save changes made to an INCLUDETEXT field

back to the
source document by pressing Ctrl+Shift+F7.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote:

Hi,

I am using Includetext to link to bookmarks in a separate file.

The
bookmarks are section headings. I have managed to include the

bookmarks
with the following field code:

INCLUDETEXT "C:\\Shared\\Filename.doc" BkmarkName \!

However I am having some problems:
1. I need to fill in the complete path of the document although

both
the source and destination docs are in the same folder. I need

to have
a relative path as the parent folder will change often.
2. The section number is being updated with the numbering of the
destination doc. I need to have the section number of the source

doc.
3. When I change the section heading text in the source doc, the
destination doc isn't being updated (after selecting Update

field).

Are these normal Word 2003 behaviour? Does anyone know how to

solve
these issues?

Rishi













  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom Stefan Blom is offline
external usenet poster
 
Posts: 8,428
Default Includetext doesn't update

"Stefan Blom" wrote in message
...
2. a) In the source document, bookmark the paragraph you want to
reference. Then insert { SET myref "{ REF bookmarknamehere \n } {
REF
bookmarkname here }" }.


Correction: Of course, the name of the bookmark should be the same in
both REF fields.

{ SET myref "{ REF bookmark_name_here \n } { REF
bookmark_name_here }" }

--
Stefan Blom
Microsoft Word MVP



In the target document, insert the following INCLUDETEXT field:

{ INCLUDETEXT "path_and_file_name_here" myref \! }

Repeat for additional paragraphs, using (obviously) a different
bookmark and a different SET field identifier.

b) I don't think this can be done. You could try inserting a

hyperlink
instead.

3. Make sure that the field hasn't been locked which would prevent

it
from updating. If it is locked, the Update Field command on the
context (right-click) menu will be greyed out, and nothing will

happen
as you press F9.

Note: Ctrl+F11 locks, and Ctrl+Shift+F11 unlocks, any field in the
selection.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote in message
ps.com...
Thanks for the reply Stefan.

For 1. - ok, I'll use absolute paths.

For 2. -

a)how can I insert a bookmarked numbered section heading from a
document into another document while keeping the source numbering

e.g.

4.13 *Administration of client databases*
etc...
Please refer to section *2.5 Backing up data* for explanations
regarding the database dump procedure.
etc...

where section 2.5 is in another document (in my case it is also

setting
the bookmarked text's style on the entire paragraph).

b)can I link to the section like for cross-references

(ctrl+click)?

For 3. - It is still not updating in the document I was working

on.
However, I have created 2 new documents and the update seems to

work
now on these. I am now wondering whether there is a cached copy of

the
original document that is giving me the problem. Any idea?

Rishi

Stefan Blom wrote:
1. I have never been able to get relative paths to work

correctly
with
INCLUDETEXT fields. It seems as if it works sometimes, and

sometimes not.
Therefore, I'd say you have to use absolute paths. Note that if

you need to
move the source files to a different location, you can display

field codes
(press Alt+F9) in the target document and then use Edit |

Replace
to quickly
change the paths.

2. If you are referring to autonumbering, this is to be

expected.
The \!
switch only prevents you from updating *fields* in the source

document.

3. The INCLUDETEXT field displays the *saved* version of the

referenced
file(s). Make sure to save the source file before updating the

field.

Also note that you can save changes made to an INCLUDETEXT field

back to the
source document by pressing Ctrl+Shift+F7.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote:

Hi,

I am using Includetext to link to bookmarks in a separate

file.
The
bookmarks are section headings. I have managed to include the

bookmarks
with the following field code:

INCLUDETEXT "C:\\Shared\\Filename.doc" BkmarkName \!

However I am having some problems:
1. I need to fill in the complete path of the document

although
both
the source and destination docs are in the same folder. I need

to have
a relative path as the parent folder will change often.
2. The section number is being updated with the numbering of

the
destination doc. I need to have the section number of the

source
doc.
3. When I change the section heading text in the source doc,

the
destination doc isn't being updated (after selecting Update

field).

Are these normal Word 2003 behaviour? Does anyone know how to

solve
these issues?

Rishi



















  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Rishi Rishi is offline
external usenet poster
 
Posts: 4
Default Includetext doesn't update

Managed to get the numbering in. But the update still doesn't work. Do
you think there might be a setting somewhere in Word that might be
causing this? or outside of Word ?The field is still keeping its
original value.

Stefan Blom wrote:
"Stefan Blom" wrote in message
...
2. a) In the source document, bookmark the paragraph you want to
reference. Then insert { SET myref "{ REF bookmarknamehere \n } {
REF
bookmarkname here }" }.


Correction: Of course, the name of the bookmark should be the same in
both REF fields.

{ SET myref "{ REF bookmark_name_here \n } { REF
bookmark_name_here }" }

--
Stefan Blom
Microsoft Word MVP



In the target document, insert the following INCLUDETEXT field:

{ INCLUDETEXT "path_and_file_name_here" myref \! }

Repeat for additional paragraphs, using (obviously) a different
bookmark and a different SET field identifier.

b) I don't think this can be done. You could try inserting a

hyperlink
instead.

3. Make sure that the field hasn't been locked which would prevent

it
from updating. If it is locked, the Update Field command on the
context (right-click) menu will be greyed out, and nothing will

happen
as you press F9.

Note: Ctrl+F11 locks, and Ctrl+Shift+F11 unlocks, any field in the
selection.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote in message
ps.com...
Thanks for the reply Stefan.

For 1. - ok, I'll use absolute paths.

For 2. -

a)how can I insert a bookmarked numbered section heading from a
document into another document while keeping the source numbering

e.g.

4.13 *Administration of client databases*
etc...
Please refer to section *2.5 Backing up data* for explanations
regarding the database dump procedure.
etc...

where section 2.5 is in another document (in my case it is also

setting
the bookmarked text's style on the entire paragraph).

b)can I link to the section like for cross-references

(ctrl+click)?

For 3. - It is still not updating in the document I was working

on.
However, I have created 2 new documents and the update seems to

work
now on these. I am now wondering whether there is a cached copy of

the
original document that is giving me the problem. Any idea?

Rishi

Stefan Blom wrote:
1. I have never been able to get relative paths to work

correctly
with
INCLUDETEXT fields. It seems as if it works sometimes, and

sometimes not.
Therefore, I'd say you have to use absolute paths. Note that if

you need to
move the source files to a different location, you can display

field codes
(press Alt+F9) in the target document and then use Edit |

Replace
to quickly
change the paths.

2. If you are referring to autonumbering, this is to be

expected.
The \!
switch only prevents you from updating *fields* in the source

document.

3. The INCLUDETEXT field displays the *saved* version of the

referenced
file(s). Make sure to save the source file before updating the

field.

Also note that you can save changes made to an INCLUDETEXT field

back to the
source document by pressing Ctrl+Shift+F7.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote:

Hi,

I am using Includetext to link to bookmarks in a separate

file.
The
bookmarks are section headings. I have managed to include the

bookmarks
with the following field code:

INCLUDETEXT "C:\\Shared\\Filename.doc" BkmarkName \!

However I am having some problems:
1. I need to fill in the complete path of the document

although
both
the source and destination docs are in the same folder. I need

to have
a relative path as the parent folder will change often.
2. The section number is being updated with the numbering of

the
destination doc. I need to have the section number of the

source
doc.
3. When I change the section heading text in the source doc,

the
destination doc isn't being updated (after selecting Update

field).

Are these normal Word 2003 behaviour? Does anyone know how to

solve
these issues?

Rishi














  #7   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom Stefan Blom is offline
external usenet poster
 
Posts: 8,428
Default Includetext doesn't update

Note that the \! switch means that you have to update all fields in
the source document first; then you can update the INCLUDETEXT fields
in the target.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote in message
oups.com...
Managed to get the numbering in. But the update still doesn't work.

Do
you think there might be a setting somewhere in Word that might be
causing this? or outside of Word ?The field is still keeping its
original value.

Stefan Blom wrote:
"Stefan Blom" wrote in message
...
2. a) In the source document, bookmark the paragraph you want to
reference. Then insert { SET myref "{ REF bookmarknamehere \n }

{
REF
bookmarkname here }" }.


Correction: Of course, the name of the bookmark should be the same

in
both REF fields.

{ SET myref "{ REF bookmark_name_here \n } { REF
bookmark_name_here }" }

--
Stefan Blom
Microsoft Word MVP



In the target document, insert the following INCLUDETEXT field:

{ INCLUDETEXT "path_and_file_name_here" myref \! }

Repeat for additional paragraphs, using (obviously) a different
bookmark and a different SET field identifier.

b) I don't think this can be done. You could try inserting a

hyperlink
instead.

3. Make sure that the field hasn't been locked which would

prevent
it
from updating. If it is locked, the Update Field command on the
context (right-click) menu will be greyed out, and nothing will

happen
as you press F9.

Note: Ctrl+F11 locks, and Ctrl+Shift+F11 unlocks, any field in

the
selection.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote in message
ps.com...
Thanks for the reply Stefan.

For 1. - ok, I'll use absolute paths.

For 2. -

a)how can I insert a bookmarked numbered section heading from

a
document into another document while keeping the source

numbering
e.g.

4.13 *Administration of client databases*
etc...
Please refer to section *2.5 Backing up data* for explanations
regarding the database dump procedure.
etc...

where section 2.5 is in another document (in my case it is

also
setting
the bookmarked text's style on the entire paragraph).

b)can I link to the section like for cross-references

(ctrl+click)?

For 3. - It is still not updating in the document I was

working
on.
However, I have created 2 new documents and the update seems

to
work
now on these. I am now wondering whether there is a cached

copy of
the
original document that is giving me the problem. Any idea?

Rishi

Stefan Blom wrote:
1. I have never been able to get relative paths to work

correctly
with
INCLUDETEXT fields. It seems as if it works sometimes, and
sometimes not.
Therefore, I'd say you have to use absolute paths. Note that

if
you need to
move the source files to a different location, you can

display
field codes
(press Alt+F9) in the target document and then use Edit |

Replace
to quickly
change the paths.

2. If you are referring to autonumbering, this is to be

expected.
The \!
switch only prevents you from updating *fields* in the

source
document.

3. The INCLUDETEXT field displays the *saved* version of the
referenced
file(s). Make sure to save the source file before updating

the
field.

Also note that you can save changes made to an INCLUDETEXT

field
back to the
source document by pressing Ctrl+Shift+F7.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote:

Hi,

I am using Includetext to link to bookmarks in a separate

file.
The
bookmarks are section headings. I have managed to include

the
bookmarks
with the following field code:

INCLUDETEXT "C:\\Shared\\Filename.doc" BkmarkName \!

However I am having some problems:
1. I need to fill in the complete path of the document

although
both
the source and destination docs are in the same folder. I

need
to have
a relative path as the parent folder will change often.
2. The section number is being updated with the numbering

of
the
destination doc. I need to have the section number of the

source
doc.
3. When I change the section heading text in the source

doc,
the
destination doc isn't being updated (after selecting

Update
field).

Are these normal Word 2003 behaviour? Does anyone know how

to
solve
these issues?

Rishi

















  #8   Report Post  
Posted to microsoft.public.word.docmanagement
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default Includetext doesn't update

Hi Stefan,

1. I have never been able to get relative paths to work correctly with
INCLUDETEXT fields. It seems as if it works sometimes, and sometimes not.

Word always checks relative to the *current directory*. So if you open a
document from another location, the relative paths in a different document
will no longer work...

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 :-)

  #9   Report Post  
Posted to microsoft.public.word.docmanagement
Rishi Rishi is offline
external usenet poster
 
Posts: 4
Default Includetext doesn't update

Hi Stefan,

Everything seems to be working out fine now. I now have the numbering
and section heading included in the target doc and these are updating
correctly after I do a complete update of the source document.

Thanks a lot for all your help Stefan! I appreciate it.

Rishi


Stefan Blom wrote:
Note that the \! switch means that you have to update all fields in
the source document first; then you can update the INCLUDETEXT fields
in the target.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote in message
oups.com...
Managed to get the numbering in. But the update still doesn't work.

Do
you think there might be a setting somewhere in Word that might be
causing this? or outside of Word ?The field is still keeping its
original value.

Stefan Blom wrote:
"Stefan Blom" wrote in message
...
2. a) In the source document, bookmark the paragraph you want to
reference. Then insert { SET myref "{ REF bookmarknamehere \n }

{
REF
bookmarkname here }" }.


Correction: Of course, the name of the bookmark should be the same

in
both REF fields.

{ SET myref "{ REF bookmark_name_here \n } { REF
bookmark_name_here }" }

--
Stefan Blom
Microsoft Word MVP



In the target document, insert the following INCLUDETEXT field:

{ INCLUDETEXT "path_and_file_name_here" myref \! }

Repeat for additional paragraphs, using (obviously) a different
bookmark and a different SET field identifier.

b) I don't think this can be done. You could try inserting a
hyperlink
instead.

3. Make sure that the field hasn't been locked which would

prevent
it
from updating. If it is locked, the Update Field command on the
context (right-click) menu will be greyed out, and nothing will
happen
as you press F9.

Note: Ctrl+F11 locks, and Ctrl+Shift+F11 unlocks, any field in

the
selection.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote in message
ps.com...
Thanks for the reply Stefan.

For 1. - ok, I'll use absolute paths.

For 2. -

a)how can I insert a bookmarked numbered section heading from

a
document into another document while keeping the source

numbering
e.g.

4.13 *Administration of client databases*
etc...
Please refer to section *2.5 Backing up data* for explanations
regarding the database dump procedure.
etc...

where section 2.5 is in another document (in my case it is

also
setting
the bookmarked text's style on the entire paragraph).

b)can I link to the section like for cross-references
(ctrl+click)?

For 3. - It is still not updating in the document I was

working
on.
However, I have created 2 new documents and the update seems

to
work
now on these. I am now wondering whether there is a cached

copy of
the
original document that is giving me the problem. Any idea?

Rishi

Stefan Blom wrote:
1. I have never been able to get relative paths to work
correctly
with
INCLUDETEXT fields. It seems as if it works sometimes, and
sometimes not.
Therefore, I'd say you have to use absolute paths. Note that

if
you need to
move the source files to a different location, you can

display
field codes
(press Alt+F9) in the target document and then use Edit |
Replace
to quickly
change the paths.

2. If you are referring to autonumbering, this is to be
expected.
The \!
switch only prevents you from updating *fields* in the

source
document.

3. The INCLUDETEXT field displays the *saved* version of the
referenced
file(s). Make sure to save the source file before updating

the
field.

Also note that you can save changes made to an INCLUDETEXT

field
back to the
source document by pressing Ctrl+Shift+F7.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote:

Hi,

I am using Includetext to link to bookmarks in a separate
file.
The
bookmarks are section headings. I have managed to include

the
bookmarks
with the following field code:

INCLUDETEXT "C:\\Shared\\Filename.doc" BkmarkName \!

However I am having some problems:
1. I need to fill in the complete path of the document
although
both
the source and destination docs are in the same folder. I

need
to have
a relative path as the parent folder will change often.
2. The section number is being updated with the numbering

of
the
destination doc. I need to have the section number of the
source
doc.
3. When I change the section heading text in the source

doc,
the
destination doc isn't being updated (after selecting

Update
field).

Are these normal Word 2003 behaviour? Does anyone know how

to
solve
these issues?

Rishi















  #10   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom Stefan Blom is offline
external usenet poster
 
Posts: 8,428
Default Includetext doesn't update

Hmm, that makes it more or less useless, in other words.

--
Stefan Blom
Microsoft Word MVP


"Cindy M." wrote in message news:VA.00000a17.0101a18d@speedy...
Hi Stefan,

1. I have never been able to get relative paths to work correctly

with
INCLUDETEXT fields. It seems as if it works sometimes, and

sometimes not.

Word always checks relative to the *current directory*. So if you

open a
document from another location, the relative paths in a different

document
will no longer work...

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 :-)







  #11   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom Stefan Blom is offline
external usenet poster
 
Posts: 8,428
Default Includetext doesn't update

You are welcome.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote in message
ups.com...
Hi Stefan,

Everything seems to be working out fine now. I now have the

numbering
and section heading included in the target doc and these are

updating
correctly after I do a complete update of the source document.

Thanks a lot for all your help Stefan! I appreciate it.

Rishi


Stefan Blom wrote:
Note that the \! switch means that you have to update all fields

in
the source document first; then you can update the INCLUDETEXT

fields
in the target.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote in message
oups.com...
Managed to get the numbering in. But the update still doesn't

work.
Do
you think there might be a setting somewhere in Word that might

be
causing this? or outside of Word ?The field is still keeping its
original value.

Stefan Blom wrote:
"Stefan Blom" wrote in message
...
2. a) In the source document, bookmark the paragraph you

want to
reference. Then insert { SET myref "{ REF bookmarknamehere

\n }
{
REF
bookmarkname here }" }.


Correction: Of course, the name of the bookmark should be the

same
in
both REF fields.

{ SET myref "{ REF bookmark_name_here \n } { REF
bookmark_name_here }" }

--
Stefan Blom
Microsoft Word MVP



In the target document, insert the following INCLUDETEXT

field:

{ INCLUDETEXT "path_and_file_name_here" myref \! }

Repeat for additional paragraphs, using (obviously) a

different
bookmark and a different SET field identifier.

b) I don't think this can be done. You could try inserting a
hyperlink
instead.

3. Make sure that the field hasn't been locked which would

prevent
it
from updating. If it is locked, the Update Field command on

the
context (right-click) menu will be greyed out, and nothing

will
happen
as you press F9.

Note: Ctrl+F11 locks, and Ctrl+Shift+F11 unlocks, any field

in
the
selection.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote in message
ps.com...
Thanks for the reply Stefan.

For 1. - ok, I'll use absolute paths.

For 2. -

a)how can I insert a bookmarked numbered section heading

from
a
document into another document while keeping the source

numbering
e.g.

4.13 *Administration of client databases*
etc...
Please refer to section *2.5 Backing up data* for

explanations
regarding the database dump procedure.
etc...

where section 2.5 is in another document (in my case it is

also
setting
the bookmarked text's style on the entire paragraph).

b)can I link to the section like for cross-references
(ctrl+click)?

For 3. - It is still not updating in the document I was

working
on.
However, I have created 2 new documents and the update

seems
to
work
now on these. I am now wondering whether there is a cached

copy of
the
original document that is giving me the problem. Any idea?

Rishi

Stefan Blom wrote:
1. I have never been able to get relative paths to work
correctly
with
INCLUDETEXT fields. It seems as if it works sometimes,

and
sometimes not.
Therefore, I'd say you have to use absolute paths. Note

that
if
you need to
move the source files to a different location, you can

display
field codes
(press Alt+F9) in the target document and then use Edit

|
Replace
to quickly
change the paths.

2. If you are referring to autonumbering, this is to be
expected.
The \!
switch only prevents you from updating *fields* in the

source
document.

3. The INCLUDETEXT field displays the *saved* version of

the
referenced
file(s). Make sure to save the source file before

updating
the
field.

Also note that you can save changes made to an

INCLUDETEXT
field
back to the
source document by pressing Ctrl+Shift+F7.

--
Stefan Blom
Microsoft Word MVP


"Rishi" wrote:

Hi,

I am using Includetext to link to bookmarks in a

separate
file.
The
bookmarks are section headings. I have managed to

include
the
bookmarks
with the following field code:

INCLUDETEXT "C:\\Shared\\Filename.doc" BkmarkName \!

However I am having some problems:
1. I need to fill in the complete path of the document
although
both
the source and destination docs are in the same

folder. I
need
to have
a relative path as the parent folder will change

often.
2. The section number is being updated with the

numbering
of
the
destination doc. I need to have the section number of

the
source
doc.
3. When I change the section heading text in the

source
doc,
the
destination doc isn't being updated (after selecting

Update
field).

Are these normal Word 2003 behaviour? Does anyone know

how
to
solve
these issues?

Rishi


















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
One of my MAIN menu's is missing an item -- namely "FILE" George Loud Microsoft Word Help 4 August 26th 07 05:50 AM
mailmerge preview does not update includetext data robrachlin Mailmerge 3 June 12th 05 10:58 AM
Possible BUG: Multiple HTTPrequests send from one includetext statement Oliver Mailmerge 2 April 18th 05 09:46 AM
IncludeText gives Error! Not a valid filename on 'refresh' Lynn Allan Formatting Long Documents 2 March 9th 05 04:10 AM
Text Form Field Ref in Footer Won't Update on Screen StarWine Microsoft Word Help 3 December 6th 04 06:17 PM


All times are GMT +1. The time now is 01:35 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"