I have an unbound form that I use to run reports. On that form, I have a field named financefilemembers. In this field I want to hold the total number of "members" from a table named tblfinancefile.
I thought I could just put this in the open even of the form:
Me!financefilemembers.controsource = "SELECT Sum(FinanceFile.MEMBERS) AS SumOfMEMBERS FROM FinanceFile;"
However, that is not working.
Can someone point me in the right direction.
Thanks!!!!
Fred
I thought I could just put this in the open even of the form:
Me!financefilemembers.controsource = "SELECT Sum(FinanceFile.MEMBERS) AS SumOfMEMBERS FROM FinanceFile;"
However, that is not working.
Can someone point me in the right direction.
Thanks!!!!
Fred