[Zope-DB] Counting query results

Cliff Quinn cquinn@victoria.tc.ca
Wed, 5 Jun 2002 21:25:44 -0800


I'm just starting to enjoy ZOPE, and having been using ODBC to get at 
my Access 2000 db. I want to be able to display the number of results I 
get from a query on the results report. Is there an easy way to do this?

I have been poking around all day trying to find this, and see some ways 
to do it. I can have a separate method that executes first to count results, 
or it looks like I can use len(rec.dictionaries()) or something like that in a 
script, but I have never writted a Python script...

What am I missing?

fishAbility: Cliff Quinn and Sam Hemstrought
Victoria, BC, Canada (250) 727-7879