In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes
>Hi All,
>
>I tried to build a search feature using sql in zope, this is what I normal
>do in sql to do a range search :
>
>select * from table1 where table1_id = %field1_value%

where table1_id = <dtml-sqlvar "'%'+ field1_value + '%'" type=string>  


-- 
Regards,  Graham Chiu
gchiu<at>compkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to