Jim, Nah, I thought of that, too and it didn't work 8(. I have been using <:sqlvar ...> inside my statements and those seem to be doing just fine. Yvonne 8) > > > Try it with the dtml-if syntax rather than :if. It made a difference for > me. If this works for you, please post a comment. it appears > that the newest > syntax did not filter into ZSQL methods. > >