[Zope] Help with Nested ZSQL methods

2000-11-29 Thread paul_s_johnson
I thought I saw this answer to this one time on http://www.zope.org once, but for the life of me I cannot seem to find it. I have two ZSQL methods, both tested and work. ZSQL method 1 === method id= sql_get_schedules SELECT * FROM Schedules WHERE JobID = dtml-var JobID

Re: [Zope] Help with Nested ZSQL methods

2000-11-29 Thread Pavel V. Piankov
try calling like this : dtml-in "sql_get_items(_.None,_)" also you might what to use dmt-sql var instead of dtml-var inside ZAQL Methods. regards -- pashah Here's the operative part of the dtml method that calls these methods: == dtml-in

Re: [Zope] Help with Nested ZSQL methods

2000-11-29 Thread Dieter Maurer
[EMAIL PROTECTED] writes: ... passing parameters to Z SQL methods ... This is an FAQ. You already know the searchable list archive at NIP? Z SQL methods do *NOT* take parameters from the DTML namespace. They only look at "REQUEST". You have two options: 1. put your parameters into the