[Zope] How to get column headers for ZSQL

vsbabu@vsbabu.org vsbabu@vsbabu.org
Thu, 21 Feb 2002 10:11:23 -0500


Never mind - got it from
http://www.zope.org/Members/spinwing/ZSQL_Results

On Thu, Feb 21, 2002 at 10:02:57AM -0500, vsbabu@vsbabu.org wrote:
> Hi,
> 
> I'd like to make a template (DTML or ZPT) that can be
> used to list a SQL query's result as a table. 
> 
> I've several queries and would like to use a single template
> for all.
> 
> Is it possible to programmatically get the column names?
> 
> Thanks in advance
> -vsb
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )