P
plh
I have a form that has a calculated field which relies on
a value from another table based on the input of a field
on the form. I created a dlookup to look up the table and
the field, then plug in the associated number in the
calculated field. This works.
Now I need to go another step and don't know how. I have
a table listed by year. Next to each year is a value. On
another table's form, when I use the dlookup to go to this
table and the year, I need to get a total of the value for
the current year, multipled by the value of the next year,
the next year, etc. until it hits the current year. This
total is then put into the form field. Each year is a
separate record.
Is there an easy way to do this other than
value*value*value*value*value*value, etc.
Thanks
a value from another table based on the input of a field
on the form. I created a dlookup to look up the table and
the field, then plug in the associated number in the
calculated field. This works.
Now I need to go another step and don't know how. I have
a table listed by year. Next to each year is a value. On
another table's form, when I use the dlookup to go to this
table and the year, I need to get a total of the value for
the current year, multipled by the value of the next year,
the next year, etc. until it hits the current year. This
total is then put into the form field. Each year is a
separate record.
Is there an easy way to do this other than
value*value*value*value*value*value, etc.
Thanks