Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
booge booge is offline
external usenet poster
 
Posts: 1
Default Using Codes to Fill Out a Form

I would like to set up a protected form for multiple users that would let
them tab through a document to fill out information. In one particular area
the ideal situation would be for an abbreviated code to be used as an entry
that would fill out a premade block of text obtained from a separate document
once the field was exited.Whether or not the entry field was changed to the
block of text or some hidden, non-printed field was used to fill out a
non-editable field doesn't matter. Is this possible, and how would it best be
accomplished?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Using Codes to Fill Out a Form

See http://www.gmayor.com/SelectFile.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org

booge wrote:
I would like to set up a protected form for multiple users that would
let them tab through a document to fill out information. In one
particular area the ideal situation would be for an abbreviated code
to be used as an entry that would fill out a premade block of text
obtained from a separate document once the field was exited.Whether
or not the entry field was changed to the block of text or some
hidden, non-printed field was used to fill out a non-editable field
doesn't matter. Is this possible, and how would it best be
accomplished?



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Jean-Guy Marcil[_2_] Jean-Guy Marcil[_2_] is offline
external usenet poster
 
Posts: 373
Default Using Codes to Fill Out a Form

"booge" wrote:

I would like to set up a protected form for multiple users that would let
them tab through a document to fill out information. In one particular area
the ideal situation would be for an abbreviated code to be used as an entry
that would fill out a premade block of text obtained from a separate document
once the field was exited.Whether or not the entry field was changed to the
block of text or some hidden, non-printed field was used to fill out a
non-editable field doesn't matter. Is this possible, and how would it best be
accomplished?


You could do this without code, given that you do not have too long a list
of abbreviated codes, otherwise it might be difficult to manage, not
impossible though!

Here is how you could do this without code. Create an AutoText entry for
each of the pieces of text you need (In my sample below, they are called
Text1, Text2 and Text3).
Create the form field dropdown with your choices. In my example they a
"Select," "Text One," "Text Two" and "Text Three." Make sure you check the
"Calculate on Exit" box and that you give it a unique name in its property
dialog. In my example I called it "List_One."
Create a nested IF field where you want the said text o appear. Nested IF
fields are easy to amage once you understand how they work. A basic IF field
works like this:
{IF Condition "Result if true" "Result if false"}
In nested fields, you keep adding IF fields in the "Results if false"
section until you have exhausted all the possibilities:
{IF Test_Condition 1 "Result if 1 is True" "{IF Test_Condition 2 "Result
if 2 is true" "{IF Test_Condition 3 "Result if 3 is true" "Result if none of
the conditions are true"}"}"}.
In this case, it would look something like this:
{IF {REF List_One} = "Text One" "{AUTOTEXT Text1}" "{IF {REF List_One} =
"Text Two" "{AUTOTEXT Text2}"" "{IF {REF List_One} = "Text Three" "{AUTOTEXT
Text3}" "Nothing Selected"}"}"}

The limit of nested fields is 19. If you need more than that, just insert a
series of nested fields next to each other, replace "Nothing Selected" by ""
in all nested fields. Of course, you could have as many non-nested fields as
you have conditions, but in either cases, you cannot have the "Nothing
selected" option, unless you include it explicitly:
{IF {REF List_One}="Text One" "{AUTOTEXT Text1}" ""}{IF {REF
List_One}="Text Two" "{AUTOTEXT Text2}" ""}{IF {REF List_One}="Text Three"
"{AUTOTEXT Text3}" ""}{IF {REF List_One}="Select" "Nothing Selected" ""}
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
I would like to make a FAX form using the DoFieldClick codes. William56 Mailmerge 1 September 5th 06 04:32 AM
MSWord Fill-in Form on Excell Form danka Microsoft Word Help 1 June 15th 06 03:26 PM
Can you create bar codes in a mail merge form? John Mailmerge 6 April 27th 06 06:39 AM
How do I fill in a Word form that's not an actual form? vettewizard00 Microsoft Word Help 3 December 29th 05 01:54 AM
How to fill in a form without the rest of the form moving down? Merny Page Layout 2 January 7th 05 09:55 PM


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