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:
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
Simplistix - Content Management, Zope & Python Consulting
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce