G
Guest
Hello,
I need to know if there is a simple way to calculate the sum of two fields
(in a sub-form) which contain a numeric values. The form in general is a
botanical survey with the main form containing fields such as SiteID,
SurveyorID, SurveyNo, SurveyDate; with the sub-form, related via SurveyNo,
containing the following: PlantName (pick list of species),and three yes/no
fields (Frequent, Occasional and Rare) only one can be checked to indicate
how often each plant occurs within the Site. They are yes/no on the form but
actually add a numeric value to the underlying table (e.g. yes in Frequent =
2, Yes in Occasional = 1).
On the main form I want to add a calculate control that sums the values from
only the Frequent and Occasional fields. I have had a look on google and
understand that this can be achieved with script, but I was hoping a simpler
approach is possilbe where i can use a simple expression in the control
property to complete this calculation, as I am a bit of a novice.
Regards
Luke
I need to know if there is a simple way to calculate the sum of two fields
(in a sub-form) which contain a numeric values. The form in general is a
botanical survey with the main form containing fields such as SiteID,
SurveyorID, SurveyNo, SurveyDate; with the sub-form, related via SurveyNo,
containing the following: PlantName (pick list of species),and three yes/no
fields (Frequent, Occasional and Rare) only one can be checked to indicate
how often each plant occurs within the Site. They are yes/no on the form but
actually add a numeric value to the underlying table (e.g. yes in Frequent =
2, Yes in Occasional = 1).
On the main form I want to add a calculate control that sums the values from
only the Frequent and Occasional fields. I have had a look on google and
understand that this can be achieved with script, but I was hoping a simpler
approach is possilbe where i can use a simple expression in the control
property to complete this calculation, as I am a bit of a novice.
Regards
Luke