Google Answers Logo
View Question
 
Q: Microsoft Word Forms ( Answered,   1 Comment )
Question  
Subject: Microsoft Word Forms
Category: Computers > Programming
Asked by: jaimeg-ga
List Price: $5.00
Posted: 24 Mar 2005 19:30 PST
Expires: 23 Apr 2005 20:30 PDT
Question ID: 500044
I am creating a form in Microsoft Word. I would like to create a
calculated field that equals the sum of two other text fields
(numbers) that are not part of a table. I am trying different ways but
none are working, I need help
Answer  
Subject: Re: Microsoft Word Forms
Answered By: maniac-ga on 25 Mar 2005 14:54 PST
 
Hello Jaimeg,

You should be able to do the following steps:

[1] Insert the two "other text fields" as bookmarks using SET. To do this, i used:

  Insert -> Field
  replaced the = (default value) with something like SET X 10.0 

after I did this, I saw the field entered in my file formatted as follows:
  { SET X 10.0 \* MERGEFORMAT }

[I believe I have "show fields" turned on as part of my preferences -
make a clarification request if you need to know how to do this]
I repeated for the other value (Y). I also noted that these values do
not appear on the page if you print them.

[2] Insert the calculated field. To do this, I used:
  Insert -> Field
in this case, I used
  = X+Y

and again I saw the field information formatted like:
  { = X+Y \* MERGEFORMAT  }
or on the printed page, the value was displayed as 11 (Y was 1).

I tested this type of reference both within and outside of a table and
it worked OK.

To find the information, I used the MS Word help and searched using phrases like:
  calculate value
  insert field
  bookmark field

Please make a clarification request if you are having problems
understanding the answer or if there is some other situation that is
preventing this solution from working on your system.

  --Maniac
Comments  
Subject: Re: Microsoft Word Forms
From: carlc-ga on 08 Apr 2005 10:47 PDT
 
jamieg,

Here is the easy way...when you add your calculation field to your
form, in the expression field of the Form Field Options dialog box
enter this formula:

=text1+text2

Just change the bookmark name to whatever your 2 text fields are. 
Also be sure to check the "calculate on exit" check box for each of
the fields you desire to use in the formula.

carlc

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy