Hi Bill,
Which fields are you referring to? On my system this first set of fields on
page 9 are headed 'Calculate the # Days Difference Between Two Dates'. Your
original post indicated you wanted to calculate someone's age, for which the
field headed 'Calculate A Person's Age' would seem more appropriate.
As for using the fields, the example under the heading 'Calculate the # Days
Difference Between Two Dates' takes it's input from two bookmarked fields,
named 'StartDate' and 'EndDate', respectively. As coded, that field isn't
interactive, but could fairly easily be made so by replacing the existing
'StartDate' and 'EndDate' cross-references in the with ASK fields to solicit
the 'StartDate' and 'EndDate' values. The ASK field that presently solicits
the 'StartDate' for this example is actually located in cell A1 in the table
under the heading 'Date Calculations in a Table'. The 'EndDate' value is
bookmarked on the same line as the formula field.
To use the field under the heading 'Calculate A Person's Age', simply select
it and press F9, as per the instructions at the front of the document. The
instructions also provide other useful information for viewing/working with
the field coding.
Getting these fields to work interactively in a table would require some
modification and would best be done using a Formfield in each cell requiring
input (you may only need to solicit the birthdate, since the date of the
calculation can be obtained from the system) and putting the table into a
section that is 'protected for forms'.
If you post back more details about the document & data you're working with
and what you're trying to achieve, it shouldn't be too difficult to find a
solution.
Finally, you might see where the bookmarks and fields are more easily if you
go to Tools|Options|View and:
.. check the 'bookmarks' box
.. set the 'Field shading' property to 'Always'.
Cheers