[Zope] how to get the fields returned SQL method

Eric BARROCA eric@netsystems.fr
24 Mar 2000 00:41:59 +0100


Hello,

I'm trying to get a list of fields returned by a dynamic SQL query.
I've found a howto telling me to write something like :
	<dtml-in SQL.names>
	<dtml-var sequence-item>
	</dtml-in>
But it doesn't work : I get the error "Attribute Error : names".
I've tried with .items, .keys and .fields too.

I'd like to do the same for an LDAP query.


Any idea ? I think it's very useful and that an easy way exists but I
can't find it.


Thanks,

EB.