Fill in the blanks

S

Signe

I am creating forms for a police department and have a
question. I am creating the forms with tables and using
form fields. I am wondering if it is possible to type in
one field and have another field automatically fill in
with text corresponding to what I typed in the first
field. For example- I type in an activity code in the
activity code field and I want the State statute that
corresponds with that activity code to automatically be
put in the state statute field. Is this possible?
 
J

Jean-Guy Marcil

Bonjour,

Dans son message, < Signe > écrivait :
In this message, < Signe > wrote:

|| I am creating forms for a police department and have a
|| question. I am creating the forms with tables and using
|| form fields. I am wondering if it is possible to type in
|| one field and have another field automatically fill in
|| with text corresponding to what I typed in the first
|| field. For example- I type in an activity code in the
|| activity code field and I want the State statute that
|| corresponds with that activity code to automatically be
|| put in the state statute field. Is this possible?

Use {REF} fields where you want the repeated text.

E.g: On page one, you have a text field named "Text1" (right click the
field, click properties, and see/change the name where it says Bookmark,
bottom right corner).
everywhere else you want Text1 to appear do:
CTRL-F9;
A pair of { } will appear;
Type REF Text1 between the curly braces;
Create all the REF fields you want;
In the field where the text originates, make sure to check the "calculate on
exit" checkbox so that all REF fields will be updated automatically when
leaving the text fields;
Finally, do ALT-F9 twice to turn the REF fields into their values (They will
seem to disappear the first time as they will be linked to empty fields);
Lock the form;
Type some text in Text1;
See all the REF Text1 field update when you tab out of Text1.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
[email protected]
Word MVP site: http://www.word.mvps.org
 
Top