[Zope] ZSQL: expr and sqltest?

Richard Wesley hawkfish@electricfish.com
Fri, 12 Apr 2002 15:30:56 -0700


At 9:32 PM +0200 4/12/02, Dieter Maurer wrote:
>Richard Wesley writes:
>=20 > According to the documentation that comes with Zope 2.5.0, the
>=20 > dtl-sqltest tag can take either a variable or an expr=3D"" tag.  But
>=20 > when I do this, I get the message "Invalid atrribute name, "expr" for
>=20 > tag <dtml-sqltest..."
>=20 >
>=20 > What's up?
>You used
>
>=20    <dtml-sqltest expr=3D"your expression" ...>
>
>?
>
>No missing "=3D"? No inserted spaces between "expr", "=3D" and the leading
>=B4"=B4 of the expression?


Nope, nope, nope.

>If you reply with "yes" to all those questions, retry by
>omitting the "expr=3D" but retaining the "..." around your expression.

Did that too.

>BTW, you need to tell "sqltest" the column name, when you use
>"expr".

Did that too.

- rmgw

http://www.electricfish.com/hawkfish/

----------------------------------------------------------------------------
Richard Wesley           Electric Fish, Inc.       hawkfish@electricfish.com

"A little patience and a lot of tape!"
=20    - Danny DeVito, _Batman Returns_