[Zope] [newbie] sqltest question
Martin Fekete
feky@nextra.sk
Thu, 11 Jan 2001 19:20:47 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_0071_01C07C03.99A8DA60
Content-Type: text/plain;
charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
documentation says that sqlvar support expressions
<dtml-sqlvar Variable|expr=3D"VariableExpression">
and this works
<dtml-sqlvar "'%'+arg+'%'" type=3Dstring>
but documentation also says that sqltest support expressions
<dtml-sqltest Variable|expr=3D"VariableExpression">
so this should work=20
<dtml-sqltest "'%'+arg+'%'" type=3Dstring column=3Darg>
but it's not working ... any ideas ?
thanks=20
Martin Fekete
------=_NextPart_000_0071_01C07C03.99A8DA60
Content-Type: text/html;
charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-2">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Arial CE" size=3D2>documentation says that sqlvar =
support=20
expressions</DIV>
<DIV>
<DIV><FONT face=3D"Arial CE"></FONT> </DIV>
<DIV><dtml-sqlvar Variable|expr=3D"VariableExpression"><BR><FONT=20
face=3D"Arial CE">and this works</FONT></DIV></FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2><dtml-sqlvar "'%'+arg+'%'"=20
type=3Dstring><BR></FONT><FONT face=3D"Arial CE" size=3D2><FONT =
face=3D"Arial CE"=20
size=3D2><FONT face=3D"Arial CE" size=3D2>but documentation also says =
that sqltest=20
support expressions</FONT></DIV>
<DIV>
<DIV>
<DIV><dtml-sqltest Variable|expr=3D"VariableExpression"></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>so this should work </FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2><dtml-sqltest "'%'+arg+'%'" =
type=3Dstring=20
column=3Darg></FONT></DIV>
<DIV><FONT face=3D"Arial CE">but it's not working ... any ideas=20
?</FONT></DIV>
<DIV>thanks </DIV>
<DIV> </DIV>
<DIV><FONT face=3D"Arial CE">Martin=20
Fekete</FONT></DIV></FONT></DIV></DIV></FONT></BODY></HTML>
------=_NextPart_000_0071_01C07C03.99A8DA60--