[Zope] TinyTable Querying Question
Meilicke, Scott
scott.meilicke@intp.com
Fri, 12 Oct 2001 12:26:15 -0700
Is it treating your variable as a string vs. a number? If so, you can use
<dtml-var expr="_.string.atoi(myVariable)">
to convert from a string to a number.
Scott
-----Original Message-----
From: abg@comco-inc.com [mailto:abg@comco-inc.com]
Sent: Friday, October 12, 2001 12:23 PM
To: zope@zope.org
Subject: [Zope] TinyTable Querying Question
Hi,
I am quite sure that I'm missing something obvious, but I'm absolutely
pulling my hair out. I am trying to pull data out of a TinyTable based on a
variable.
Here's an example:
<dtml-in "TinyTable(row_id= myVariable)">
<dtml-var col_1>
</dtml-in>
If I replace myVariable with a literal, like '1', it works (naturally). What
am I overlooking?
Thanks in advance,
Aaron Gillette
_______________________________________________
Zope maillist - Zope@zope.org
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 )