G
gator
Can this or something like this be used to SUM a field from the subform
Child16?
Here is the Form
Form Name: frmForm
SubForm Name: Child16
SubForm field Name to be totaled: Balance
frmForm footer textbox: txtTotal
Child16 Source Object: UnionQuery
UnionQuery SQL:
SELECT FundDate, FundID, FundName, Balance FROM Funds2009
UNION SELECT FundDate, FundID, FundName, Balance FROM Funds2008
UNION SELECT FundDate, FundID, FundName, Balance FROM Funds2007
UNION SELECT FundDate, FundID, FundName, Balance FROM Funds2006;
Here is what I'm trying to use in txtTotal's Control Source property
=Sum([Me]![Child16].[Balance])
I have tried many variations of this and cannot get a number. Is there
anything close to this that will make the calculation on the subform on the
form?
What do I have to do to get txtTotal to update the Total based on what
Child16's content is?
Child16?
Here is the Form
Form Name: frmForm
SubForm Name: Child16
SubForm field Name to be totaled: Balance
frmForm footer textbox: txtTotal
Child16 Source Object: UnionQuery
UnionQuery SQL:
SELECT FundDate, FundID, FundName, Balance FROM Funds2009
UNION SELECT FundDate, FundID, FundName, Balance FROM Funds2008
UNION SELECT FundDate, FundID, FundName, Balance FROM Funds2007
UNION SELECT FundDate, FundID, FundName, Balance FROM Funds2006;
Here is what I'm trying to use in txtTotal's Control Source property
=Sum([Me]![Child16].[Balance])
I have tried many variations of this and cannot get a number. Is there
anything close to this that will make the calculation on the subform on the
form?
What do I have to do to get txtTotal to update the Total based on what
Child16's content is?