L
Larry Salvucci
I have a subform that is filtered by a combo box on my main form. The combo
box allows the users to select a year and then all the records within that
year will appear on the subform. I have the default of my combo box set to
"Year(Date())" so when the form is opened it will already show the records
for the current year. I also have some textboxes on my main form the do some
calculations based on the records on my subform. The problem is that when I
open the form and there are records on the subform the calculation controls
will not calculate until I select a year in the combo box. There is a value
already in the combo box based on the default that I set. How come these
calculations won't calculate since there is data already filtered on my
subform when I open my main form? The only way they will calculate is if I
select the year again even though it's already set with a default.
box allows the users to select a year and then all the records within that
year will appear on the subform. I have the default of my combo box set to
"Year(Date())" so when the form is opened it will already show the records
for the current year. I also have some textboxes on my main form the do some
calculations based on the records on my subform. The problem is that when I
open the form and there are records on the subform the calculation controls
will not calculate until I select a year in the combo box. There is a value
already in the combo box based on the default that I set. How come these
calculations won't calculate since there is data already filtered on my
subform when I open my main form? The only way they will calculate is if I
select the year again even though it's already set with a default.