Of course. You can do anything the ZMI does. If you look at how it's done there, you will eventually come to the method manage_advanced. You can see it online:
http://svn.zope.org/Zope/trunk/lib/python/Shared/DC/ZRDB/DA.py?rev=24751&view=auto
I suppose you could also just set the property 'max_rows_' if that's all you're interested in.
Check out how it's implemented in the CMF's FSZSQLMethods
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )