S
scottyboyb
I am still strugling with understanding DCount. I don't know why I can't get
it.
Does DCount work in forms and subforms? If so, what is wrong with this:
DCount("[AmoutPledged]","Forms![Campaign Pledge Listing
Subform]","[AmountPledged] >'0' ")
AmountPledged = currency field in table
Campaign Pledge Listing Subform = subform that holds AmountPledged
As I understand it, DCount says to count the records in the field xxx in the
table or query or form xxx where field xxx meets this criteria. In this case
the field AmountPledged in the subform Campaign Pledge Listing Subform where
AmountPledged > 0.
Many thanks,
Scott
it.
Does DCount work in forms and subforms? If so, what is wrong with this:
DCount("[AmoutPledged]","Forms![Campaign Pledge Listing
Subform]","[AmountPledged] >'0' ")
AmountPledged = currency field in table
Campaign Pledge Listing Subform = subform that holds AmountPledged
As I understand it, DCount says to count the records in the field xxx in the
table or query or form xxx where field xxx meets this criteria. In this case
the field AmountPledged in the subform Campaign Pledge Listing Subform where
AmountPledged > 0.
Many thanks,
Scott