If 'sqlmethodname' is a string containing the name of the ZSQL method you want to use, then this will work: <dtml-in "_[sqlmethodname]"> <dtml-var fieldname> </dtml-in> But it is really horrible! I would try to avoid doing this. A -- Logical Progression Ltd, 16 Forth Street, Edinburgh EH1 3LH, UK Tel: +44 (0)131 466 9585 Web: http://www.logicalprogression.net/ On 20/4/03 1:55 am, "Rua Haszard Morris" <ruahm@yahoo.com> wrote:
I realise with the below that I should probably use a python script. I still have the same question though - how can I call the sql methods by name stored in a string? i.e. the method names are parameters to the script, and it should execute the queries, process and return the query data.
Thanks in advance for any help, Rua HM.