Hello everyone
I have the next question
How can I count the records I have into the field from a filtered form
The way I tried to do was with the function Dcount
My code is:
Me.Passtxt = DCount("[TotalResult]", "[qryResults]", "[TotalResult]= 'Pass'")
Me.Failtxt = DCount("[TotalResult]", "[qryResults]", "[TotalResult]= 'Fail'")
It works pretty good for the data of the query... qryResults...
But I would like that will be calculated by the currentform named "qryResultsForm"
Thanks in advance for the support!