One way to handle this would be to add a hidden, unbound textbox
(txt_SumNoShow) to the footer of the subform. Set it's control Source to: =
Sum(Abs([NoShow]))
Then, on your main form, set the control source for the textbox where you
want to display this number to: = me.SubformControlName.form.txt_SumNoShow
Another way to do it would be to use the DSum( ) domain function. Set the
Control source of the textbox on the main form to something like:
= ABS(DSUM("NoShow", "yourTable", "[SomeID] = " & me.ID))
the DSUM function requires a field name, a table name, and accepts an
optional criteria string. In this case, the criteria string would be include
the name of the field that the form and subform are linked by and the value
of that field from the main form.
HTH
Dale
i have a field NoShow (YES/NO field) on my subform with 3 records, 2 were
marked YES..
how can count this YES answers and display it on my parent form?
thanks...