[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.


-----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


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

Here's an example:

<dtml-in "TinyTable(row_id= myVariable)">
<dtml-var col_1>

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
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )