Hi, I am new to DTML and trying to write a general DTML code that when pass a table name, the page will return with all the data in that table. The problem I am having is that cannot make it general enough so that do not have to explicitely reference the table's column names in the DTML code as done below: <table> <dtml-in expr="list_of_rows(tablename=tablename_v)"> <tr> <td><dtml-var first_name></td> <td><dtml-var last_name></td> </tr> </dtml-in> </table> Is there a way to reference all the colnames without being explicit so that this script will work for any tablename that pass? thanks, Brad The information contained in this message is confidential and is intended for the addressee only. If you have received this message in error or there are any problems, please notify the sender immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden.
Is there a way to reference all the colnames without being explicit so that this script will work for any tablename that pass?
http://www.zope.org/Members/spinwing/ZSQL_Results
The information contained in this message is confidential and is intended for the addressee only. If you have received this message in error or there are any problems, please notify the sender immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden.
The information contained in my message is in no way confidential and is intended for whomever happens to see it. If you have received this message in error or there are any problems, sorry 'bout that. --jcc -- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."
Brad Dickerson wrote at 2003-8-15 10:08 -0400:
I am new to DTML and trying to write a general DTML code that when pass a table name, the page will return with all the data in that table.
You may want to look at "ZnolkSQLWizzard", a third party product that can do this. Dieter
participants (3)
-
Brad Dickerson -
Dieter Maurer -
J Cameron Cooper