[AccessD] How to - get a count for a condition

Gustav Brock gustav at cactus.dk
Thu May 13 10:23:52 CDT 2004


Hi John

> I first thought they wanted a list of the records, so I have a query
> already that finds these records. And, I know from running the query,
> how many records exist. But, how do I just get the number?

The easy route:

  lngCount = DCount("*", "NameOfYourQuery")

/gustav




More information about the AccessD mailing list