G
Guest
Thought it would be straightforward, but I'm doing something wrong. I have a
field on a form that I would like to be a summary field for some number
fields on a form. I have tried this expression:
Sum(dimension1+dimension2+dimension3+dimension4+dimension5)
and put it in the 'Got Focus' event and the 'On Exit' event, and both leave
the field blank. I also changed to Control Source to the above expression
and it gives me a number that is MUCH larger than the fields I want to sum--
is it possible that it is summing those fields across ALL records instead of
breaking after it sums the fields just for that particular record? Don't
know, since this large number won't dynamcally change on test records that
were in the database before this code was put in. I just need a summary
field that will dynamically change when the numbers that it is summing change.
Thanks!
field on a form that I would like to be a summary field for some number
fields on a form. I have tried this expression:
Sum(dimension1+dimension2+dimension3+dimension4+dimension5)
and put it in the 'Got Focus' event and the 'On Exit' event, and both leave
the field blank. I also changed to Control Source to the above expression
and it gives me a number that is MUCH larger than the fields I want to sum--
is it possible that it is summing those fields across ALL records instead of
breaking after it sums the fields just for that particular record? Don't
know, since this large number won't dynamcally change on test records that
were in the database before this code was put in. I just need a summary
field that will dynamically change when the numbers that it is summing change.
Thanks!