Reply
 
Thread Tools Display Modes
  #1   Report Post  
gandalf
 
Posts: n/a
Default Field, and formatting

For Word 97 and above

I have a variable field, tha is a field linked to the comtent of a
document variable.
The variable contains carriage returns and the field is displayed
correctly on multiple lines:

Line1
Line2
Line3

If I apply a numbering formatting to the field, it is displayed
correctly:

1) Line1
2) Line2
3) Line3

But if I do a field update I lose the numbering style, and here's what
i get:

1) Line1
Line2
Line3
Line4

If I do a CTRL-Z it goes back to how it should be

1) Line1
2) Line2
3) Line3
4) Line4

Any hint?

Thanks
  #2   Report Post  
Cindy M -WordMVP-
 
Posts: n/a
Default

Hi Gandalf,

As soon as you update a field, anything you've typed into the field or
applied as formatting is removed. This is to be expected; it's how
fields work.

There are a couple of switches you can try adding to the DocVariable
field, although neither were designed to work with number formatting, so
results will be unpredictable, at best: \* CharFormat and \* MErgeformat

I have a variable field, tha is a field linked to the comtent of a
document variable.
The variable contains carriage returns and the field is displayed
correctly on multiple lines:

Line1
Line2
Line3

If I apply a numbering formatting to the field, it is displayed
correctly:

1) Line1
2) Line2
3) Line3

But if I do a field update I lose the numbering style, and here's what
i get:

1) Line1
Line2
Line3
Line4

If I do a CTRL-Z it goes back to how it should be


Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
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 :-)

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
Formatting Issue on Number Field Brig Mailmerge 2 January 26th 05 02:18 PM
How to retain specific formatting in the same line after field ent snidely Microsoft Word Help 4 January 17th 05 02:45 AM
Retaining formatting on a single line after entering data in field snidely Page Layout 1 January 17th 05 01:29 AM
form and form field formatting stacyo Microsoft Word Help 4 December 8th 04 04:52 PM
User-applied formatting of text field contents? Ed Kennedy Tables 1 December 3rd 04 04:44 PM


All times are GMT +1. The time now is 01:00 AM.

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"