Thanks Jonathan and Paul!
"rownum" doesn't exist in PG 7.1.3, it seems, at least the query choked on that.
I am using "ad_table" (this is one GREAT proc) in 3.2.5 to display the results to make the columns sortable. Modifying ad_table should be easy and so I'll follow your recomendations. Thanks again.