G
Guest
I have a continuous form that showing multiple records. In the form footer I
have a text box that displays total records with the following code =count(*)
which works just great. I want another text box that displays how many of
the total records are in "Complete" status, which is one of the fields for
each record. The problem is that the form can be filterd based on various
conditions. I've tried using a DCount function to pull the total from the
underlying query, but whenever the form is filtered, the count(*) shows the
correct total, while the DCount still shows what is in the underlying query
without the filter. Is ther anyway to get around this? Is there some sort
of countif function or something similar? I have searched through both
Access help and VBA help for several hours and have found nothing! Any help
is appreciated.
have a text box that displays total records with the following code =count(*)
which works just great. I want another text box that displays how many of
the total records are in "Complete" status, which is one of the fields for
each record. The problem is that the form can be filterd based on various
conditions. I've tried using a DCount function to pull the total from the
underlying query, but whenever the form is filtered, the count(*) shows the
correct total, while the DCount still shows what is in the underlying query
without the filter. Is ther anyway to get around this? Is there some sort
of countif function or something similar? I have searched through both
Access help and VBA help for several hours and have found nothing! Any help
is appreciated.