A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Page Layout
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Text box question



 
 
Thread Tools Display Modes
  #1  
Old October 15th, 2005, 12:58 AM
Rick M
external usenet poster
 
Posts: n/a
Default Text box question

One of our users created a multipage form with text boxes for the data
entry. Is it possible to have one text box entry automatically insert
the contents of it to another text box? This form has a place for the
name and birthdate of a child, which has to go on each page. They don't
want to do this in a header because the form is locked (due to one pesky
user who feels the need to modify everything) and to enter the data in
the header the document would have to be unlocked (correct me if I'm
wrong here!).
  #2  
Old October 15th, 2005, 04:01 AM
Suzanne S. Barnhill
external usenet poster
 
Posts: n/a
Default Text box question

Ordinarily, the way to repeat data from a form field is to use a
cross-reference to the bookmark of the form field. If you want the data to
go in the header, however, you can use a StyleRef field. Here's how I
explain it in the article currently in preparation:

Creators of protected forms often want the data entered into one form field
to be repeated in several other place on the form. The usual way to do this
is to use a REF (cross-reference) field to cross-reference the built-in
bookmark of the form field. This works well in the document body, but REF
fields in the header or footer of a protected form do not update, so this
solution cannot be used to insert data in a header or footer.

You can, however, do this easily with a StyleRef field.

1. Again, create a character style. You can give it the same name as the
bookmark of your form field (see Figure 8). Base it on the Default Paragraph
Font with no other attributes. That is, the character style does not affect
the appearance of your form field at all; it just overlays the paragraph
style invisibly.

2. Apply the style to the form field.

3. In the header or footer, insert a StyleRef field to pick up the style
you created (see Figure 9).

The beauty of the StyleRef field is that it updates automatically and
instantly, as soon as data is entered in the form field (see Figure 10).

(Obviously, there are no figures here. g)


--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Rick M" wrote in message
...
One of our users created a multipage form with text boxes for the data
entry. Is it possible to have one text box entry automatically insert
the contents of it to another text box? This form has a place for the
name and birthdate of a child, which has to go on each page. They don't
want to do this in a header because the form is locked (due to one pesky
user who feels the need to modify everything) and to enter the data in
the header the document would have to be unlocked (correct me if I'm
wrong here!).


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Survey Results SAm Running & Setting Up Queries 10 May 17th, 2005 08:32 PM
Ideas On Producing Envelopes & Labels For Data RNUSZ@OKDPS Setting Up & Running Reports 0 April 28th, 2005 03:22 PM
Combo Box (1st) Populating Text Box (2nd) Field AccessRookie Using Forms 1 April 6th, 2005 11:37 PM
Combo Box & Text Box AccessRookie Using Forms 3 April 6th, 2005 11:33 PM
Outline Renee Hendershott Page Layout 2 December 25th, 2004 03:49 PM


All times are GMT +1. The time now is 11:10 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.