11 Jan
2000
11 Jan
'00
6:17 p.m.
On Tue, 11 Jan 2000 07:51:22 -0600 Jim Sanford <jsanford@atinucleus.com> wrote:
SELECT * FROM table <dtml-if "X==1"> WHERE col=1 <dtml-elif "X==-1"> WHERE col=0 </dtml-if>
should work. It assumes that X will only be between -1 and 1.
That's pretty close to what I did at the beginning and what I just triied just now -- X doesn't get expanded for the conditional inside a ZSQL object AFAICT. -- J C Lawrence Home: claw@kanga.nu ----------(*) Other: coder@kanga.nu --=| A man is as sane as he is dangerous to his environment |=--