D
Darren Kozey via AccessMonster.com
I have a multi-tab subform where on one page I am summarizing data from
other pages on the form. Because I am using calculated text boxes, the
record source for the form is a SELECT query as follows:
SELECT tblEstimateMaterials.*, tblEstimateHoursEpic.*,
tblEstimatehoursTrades.* FROM tblEstimateMaterials, tblEstimateHoursEpic,
tblEstimatehoursTrades;
On the summary page, I have a text box control with this as its control
source:
=Sum([tblEstimateMaterials.Quantity]*[tblEstimateMaterials.UnitPrice])
The problem is that with the other tables in the SELECT query present, the
calculation is wrong...in fact it is quite a bit higher than it should be.
If I remove the Sum portion of the expression, it works. With the Sum part
of the expression, it seems almost that it is summing something in all
tables in the SELECT query combined, because the number is so high.
Does anyone know what is happening here?
Thanks,
Darren
other pages on the form. Because I am using calculated text boxes, the
record source for the form is a SELECT query as follows:
SELECT tblEstimateMaterials.*, tblEstimateHoursEpic.*,
tblEstimatehoursTrades.* FROM tblEstimateMaterials, tblEstimateHoursEpic,
tblEstimatehoursTrades;
On the summary page, I have a text box control with this as its control
source:
=Sum([tblEstimateMaterials.Quantity]*[tblEstimateMaterials.UnitPrice])
The problem is that with the other tables in the SELECT query present, the
calculation is wrong...in fact it is quite a bit higher than it should be.
If I remove the Sum portion of the expression, it works. With the Sum part
of the expression, it seems almost that it is summing something in all
tables in the SELECT query combined, because the number is so high.
Does anyone know what is happening here?
Thanks,
Darren