Can I have 'pointers' to ZSQL Methods?
I need to do something like this: <dtml-in "<dtml-var qry_name>" or <dtml-in "_['<dtml-var qry_name>']"> where qry_name contains the name of the ZSQL Method that I want to use. However neither of the above works, the latter gives a traceback error, which I daren't reproduce here because of it's length :) The above is used inside a DTML Method which is called by passing parameters to it from a DTML Document. qry_name is one of the parameters being passed. Any help appreciated. thanks - Jason Wong Digital View Ltd 2201 Nanyang Plaza 57 Hung To Road Kwun Tong HONG KONG Tel: +852-2861-3615 Fax: +852-2520-2987 www.digitalview.com
<dtml-in "<dtml-var qry_name>" or
<dtml-in "_['<dtml-var qry_name>']">
Try: <dtml-in "_[qry_name]"> _['something'] means I want the value with the literal key of something. _[reftosomething] means I want the value with the key which is the value of reftosomething, if that makes sense. Cheers, Stephen -- Stephen Harrison - stephen@nipltd.com New Information Paradigms - www.nipltd.com
participants (2)
-
Jason Wong -
Stephen Harrison