[Zope] How to access column names in DTML Methods
Jose Soares
jose@sferacarta.com
Mon, 13 Nov 2000 15:53:29 +0100
Hi all,
I'm trying to display the column names of a Record object without success.
I'm able to access column data using sequence-item but I don't know
how to display column names.
<dtml-var standard_html_header>
<dtml-in "desc(cmd=cmd_sql)" size=50 start=query_start>
<dtml-if sequence-start>
<dtml-if previous-sequence>
<A HREF="<dtml-var URL><dtml-var sequence-query>query_start=<dtml-var
previous-sequence-start-number>">(Previous <dtml-var previous-sequence-size>
results)</A>
</dtml-if previous-sequence>
<TABLE>
<TR><TH>?????????????HEADER????????????</TH></TR>
</dtml-if sequence-start>
<TR>
<dtml-in sequence-item>
<TD BGCOLOR="WHITE"><dtml-var sequence-item null="NULL"></TD>
</dtml-in>
</TR>
<dtml-if sequence-end>
</TABLE>
<dtml-if next-sequence>
<A HREF="<dtml-var URL><dtml-var sequence-query>query_start=<dtml-var
next-sequence-start-number>"> (Next <dtml-var next-sequence-size> results)</A>
</dtml-if next-sequence>
</dtml-if sequence-end>
<dtml-else>
There was no data matching this <dtml-var title_or_id> query.
</dtml-in>
<dtml-var standard_html_footer>
Thanks for any help
José