K
kmewing
I did a search of the forum on this topic and didn’t find anything that
answered my question.
I’m using Word 2007 but this also needs to work with 2003. I am revamping a
form that uses text form fields. Several of the fields are drop-downs where
you can choose a number (1, 2, 3, or 4). Another field is supposed to sum
the numbers from all the drop-downs.
I cannot get this operation to work. No matter how I configure the text
fields, the summation field just says zero.
Here’s how I’ve configured things. First, the drop-downs (assume three) are
just created normally (default settings). Second, the summation field is
configured as follows (in the Text Form Field Options dialog box):
Type: Calculation
Expression: =Dropdown_bookmark1+Dropdown_bookmark2+Dropdown_bookmark3
Maximum length: Unlimited (default value)
All other fields blank.
“Calculate on exit†is selected.
A colleague did some hacking and got the summation to work by making the
following changes in the Text Form Field Options dialog box:
Change the drop-downs to regular text form fields and set the Type to
Number.
In the summation field, enclose the Expression in parentheses, as in:
=(Textfield_bookmark1+Textfield _bookmark2+Textfield _bookmark3)
In the summation field, clear the text in the Bookmark field.
I could go this route, but I would prefer to keep the drop-downs if
possible. Does anyone have any advice? Thanks.
answered my question.
I’m using Word 2007 but this also needs to work with 2003. I am revamping a
form that uses text form fields. Several of the fields are drop-downs where
you can choose a number (1, 2, 3, or 4). Another field is supposed to sum
the numbers from all the drop-downs.
I cannot get this operation to work. No matter how I configure the text
fields, the summation field just says zero.
Here’s how I’ve configured things. First, the drop-downs (assume three) are
just created normally (default settings). Second, the summation field is
configured as follows (in the Text Form Field Options dialog box):
Type: Calculation
Expression: =Dropdown_bookmark1+Dropdown_bookmark2+Dropdown_bookmark3
Maximum length: Unlimited (default value)
All other fields blank.
“Calculate on exit†is selected.
A colleague did some hacking and got the summation to work by making the
following changes in the Text Form Field Options dialog box:
Change the drop-downs to regular text form fields and set the Type to
Number.
In the summation field, enclose the Expression in parentheses, as in:
=(Textfield_bookmark1+Textfield _bookmark2+Textfield _bookmark3)
In the summation field, clear the text in the Bookmark field.
I could go this route, but I would prefer to keep the drop-downs if
possible. Does anyone have any advice? Thanks.