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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Calculate Form Fields



 
 
Thread Tools Display Modes
  #1  
Old May 13th, 2010, 05:34 PM posted to microsoft.public.word.docmanagement
NFL
external usenet poster
 
Posts: 74
Default Calculate Form Fields

MS Word 2003 - I'm in the "Text Form Field Options" dialog box and would like
to know how to calculate two form fields (texboxes) and pass the value to the
third form field?. For example: textbox1 * textbox2 = textbox3

Also, is there a limit of how many form fields I can calculate?

Thank you,
  #2  
Old May 13th, 2010, 05:49 PM posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default Calculate Form Fields

Select Calculation as the Type in the Text Form Field Options dialog, then
create your formula in the Expression box following the same rules as for an
= field in ordinary text (in your example, it would be "= Text1 * Text2").
Be sure to check the box for "Calculate on exit" in the Form Field Options
for each form field that contributes to the calculation so that the
calculated field will update automatically.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"NFL" wrote in message
...
MS Word 2003 - I'm in the "Text Form Field Options" dialog box and would
like
to know how to calculate two form fields (texboxes) and pass the value to
the
third form field?. For example: textbox1 * textbox2 = textbox3

Also, is there a limit of how many form fields I can calculate?

Thank you,


  #3  
Old May 13th, 2010, 09:54 PM posted to microsoft.public.word.docmanagement
NFL
external usenet poster
 
Posts: 74
Default Calculate Form Fields

Thank you for your help! It worked? :-)

"Suzanne S. Barnhill" wrote:

Select Calculation as the Type in the Text Form Field Options dialog, then
create your formula in the Expression box following the same rules as for an
= field in ordinary text (in your example, it would be "= Text1 * Text2").
Be sure to check the box for "Calculate on exit" in the Form Field Options
for each form field that contributes to the calculation so that the
calculated field will update automatically.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"NFL" wrote in message
...
MS Word 2003 - I'm in the "Text Form Field Options" dialog box and would
like
to know how to calculate two form fields (texboxes) and pass the value to
the
third form field?. For example: textbox1 * textbox2 = textbox3

Also, is there a limit of how many form fields I can calculate?

Thank you,


.

  #4  
Old May 13th, 2010, 11:04 PM posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default Calculate Form Fields

So did it work or not?

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"NFL" wrote in message
...
Thank you for your help! It worked? :-)

"Suzanne S. Barnhill" wrote:

Select Calculation as the Type in the Text Form Field Options dialog,
then
create your formula in the Expression box following the same rules as for
an
= field in ordinary text (in your example, it would be "= Text1 *
Text2").
Be sure to check the box for "Calculate on exit" in the Form Field
Options
for each form field that contributes to the calculation so that the
calculated field will update automatically.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"NFL" wrote in message
...
MS Word 2003 - I'm in the "Text Form Field Options" dialog box and
would
like
to know how to calculate two form fields (texboxes) and pass the value
to
the
third form field?. For example: textbox1 * textbox2 = textbox3

Also, is there a limit of how many form fields I can calculate?

Thank you,


.



  #5  
Old May 15th, 2010, 12:29 PM posted to microsoft.public.word.docmanagement
macropod[_2_]
external usenet poster
 
Posts: 2,402
Default Calculate Form Fields

Hi NFL,

Beware of trying to reference a formfield calculation in a subsequent formfield. The results are unlikely to be what you'd expect.

--
Cheers
macropod
[Microsoft MVP - Word]


"NFL" wrote in message ...
Thank you for your help! It worked? :-)

"Suzanne S. Barnhill" wrote:

Select Calculation as the Type in the Text Form Field Options dialog, then
create your formula in the Expression box following the same rules as for an
= field in ordinary text (in your example, it would be "= Text1 * Text2").
Be sure to check the box for "Calculate on exit" in the Form Field Options
for each form field that contributes to the calculation so that the
calculated field will update automatically.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"NFL" wrote in message
...
MS Word 2003 - I'm in the "Text Form Field Options" dialog box and would
like
to know how to calculate two form fields (texboxes) and pass the value to
the
third form field?. For example: textbox1 * textbox2 = textbox3

Also, is there a limit of how many form fields I can calculate?

Thank you,


.

  #6  
Old May 15th, 2010, 02:26 PM posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill
external usenet poster
 
Posts: 31,786
Default Calculate Form Fields

Indeed. That's discussed in “WD2000: Calculation in Form Field Shows Wrong
Result” at http://support.microsoft.com/?kbid=211253

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"macropod" wrote in message
...
Hi NFL,

Beware of trying to reference a formfield calculation in a subsequent
formfield. The results are unlikely to be what you'd expect.

--
Cheers
macropod
[Microsoft MVP - Word]


"NFL" wrote in message
...
Thank you for your help! It worked? :-)

"Suzanne S. Barnhill" wrote:

Select Calculation as the Type in the Text Form Field Options dialog,
then create your formula in the Expression box following the same rules
as for an = field in ordinary text (in your example, it would be "=
Text1 * Text2"). Be sure to check the box for "Calculate on exit" in the
Form Field Options for each form field that contributes to the
calculation so that the calculated field will update automatically.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"NFL" wrote in message
...
MS Word 2003 - I'm in the "Text Form Field Options" dialog box and
would like
to know how to calculate two form fields (texboxes) and pass the value
to the
third form field?. For example: textbox1 * textbox2 = textbox3

Also, is there a limit of how many form fields I can calculate?

Thank you,


.


 




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


All times are GMT +1. The time now is 09:46 AM.


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