Sorry, me again.
Now I am absolutely sure this has been raised before so pardon my ignorance but I am trying to sum an unbound textbox in a continuous form and getting #Error no matter what I try.
Context
I have a textbox which is bound to a table [hours], and a textbox that is unbound using a DLookUp to find a cost rate [cost]. I have a third unbound textbox on my form that looks at [hours] * [cost] called [TC]
In my form footer I want to sum the results for [TC], i.e. if my form has 3 rows @ £100 each my form footer should show £300.
I have tried =Sum([TC]) and =Sum([frm]![TC]). Both give me a #Error result. A quick google search led me to the following solution for unbound boxes =Sum([hours] * [TC]) which gives me the same error so now I am at a complete loss.
Is there a very obvious, simple explanation? My Access skills are not brilliant, so it's very plausible to assume I have made a very basic, fundamental mistake somewhere!
Now I am absolutely sure this has been raised before so pardon my ignorance but I am trying to sum an unbound textbox in a continuous form and getting #Error no matter what I try.
Context
I have a textbox which is bound to a table [hours], and a textbox that is unbound using a DLookUp to find a cost rate [cost]. I have a third unbound textbox on my form that looks at [hours] * [cost] called [TC]
In my form footer I want to sum the results for [TC], i.e. if my form has 3 rows @ £100 each my form footer should show £300.
I have tried =Sum([TC]) and =Sum([frm]![TC]). Both give me a #Error result. A quick google search led me to the following solution for unbound boxes =Sum([hours] * [TC]) which gives me the same error so now I am at a complete loss.
Is there a very obvious, simple explanation? My Access skills are not brilliant, so it's very plausible to assume I have made a very basic, fundamental mistake somewhere!