[Zope-DB] DTML-sqlvar string error

Dieter Maurer dieter at handshake.de
Wed Nov 17 13:50:23 EST 2004


ilker imamoglu wrote at 2004-11-16 00:44 +0000:
> ...
>2. After restarting the ZOPE, some of the failed programs starts to run. BUT
>
>When I write Z SQL method like :
>
>   SELECT * FROM Library
>   where
>   bk_id='<dtml-sqlvar xbk_id type=int>'

Drop the "'". I.e. use:

     ...
     bk_id=<dtml-sqlvar xbk_id type=int>

-- 
Dieter


More information about the Zope-DB mailing list