is this possible? field prompt = bookmark

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i have created a field where you enter a first name. i have also bookmarked
this field. i was wondering if i could use this bookmark when creating
another fill in field? i want to use it when filling out the field properties
prompt box. the first name from field one will show up in field 2's prompt
box. i am sorry if i have not explained myself very well as i am new to word
programming.
 
Hi Brian,
i have created a field where you enter a first name. i have also bookmarked
this field. i was wondering if i could use this bookmark when creating
another fill in field? i want to use it when filling out the field properties
prompt box. the first name from field one will show up in field 2's prompt
box. i am sorry if i have not explained myself very well as i am new to word
programming.
Version of Word?

You're creating Fill-in fields? Yes, this should be possible...

Press Alt+F9 to see all the field codes in your document. The Fill-in field
should look something like this:

{ FILLIN Please type your last name }

IOW the field name plus the prompt text. Position the cursor in the prompt
where you want to see the result of the other field. Press Ctrl+F9 to insert a
pair of field brackets within the Fillin field. Create a REF field that refers
to the bookmark. Something like this:

{ FILLIN { REF txtFirstName }: Please type your last name }

Press Alt+F9 again to display the field results, then Ctrl+A, F9 to execute the
fields.

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 :-)
 
i have created a field where you enter a first name. i have also bookmarked
this field. i was wondering if i could use this bookmark when creating
another fill in field? i want to use it when filling out the field properties
prompt box. the first name from field one will show up in field 2's prompt
box. i am sorry if i have not explained myself very well as i am new to word
programming.

Hi Brian,

Yes, you can do that.

Let's assume the bookmark that contains the first fill-in field is
called FirstName.

Select the second field and press Shift+F9, or right-click it and
select Toggle Field Code. You'll see something like this, depending on
what you've entered so far for the prompt:

{ FILLIN "Last name of :" \* MERGEFORMAT }

Put the cursor to the left of the colon and press Ctrl+F9. That will
create another pair of field braces inside the field. Between those
braces, type the bookmark name:

{ FILLIN "Last name of { FirstName }:" \* MERGEFORMAT }

Finally toggle the field back to the result.

Now, when the fields are updated, the prompt for the last name field
will include the first name from the other fill-in.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 
with the help from the both of you i have achieved what i needed to do. i
thank you both very much. have a good day.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top