[Zope-DB] Accessing the result set

Charlie Clark charlie at egenix.com
Mon Mar 21 03:26:24 EST 2005


Dear Srikanth,

this is one of the most basic tasks in Zope and is well documented in the 
Zope book. I suggest you use the ZSQL Report Wizard to generate a report 
and look at the generated code. I would also suggest you use ZPT rather 
than DTML.

Charlie

On 2005-03-21 at 05:19:29 [+0100], srikanth <srikanth.m at monsterfirst.com> 
wrote:
> Hi ,
> 
>  
> 
>  I have made a external method that access MYSQL database and gets the
> recordset.
> 
> Say the method name is searchdatabase. And got an DTML method that calls
> the external method
> 
> External method is an python module that returns the records.
> 
>  
> 
> <dtml-call searchdatabase>
> 
>  
> 
> How can I have access to the returned recordset so that I can display it
> in form of a table.
> 
>  
> 
> Something like:
> 
>  
> 
> Filename   Vendor_id  Creation-date  size


More information about the Zope-DB mailing list