Re: [Zope] Tiny tables

2000-10-19 Thread Graham Chiu
On Fri, 13 Oct 2000 19:40:08 -0400 [EMAIL PROTECTED] wrote: The problem with the TinyTable and TinyTablePlus products is that they use the tokenize.py module which treats any field value as a possible Python expression. Since ":" is a special token in Python, it gets interpreted as such.

Re: [Zope] Tiny tables

2000-10-13 Thread Dieter Maurer
Graham Chiu writes: I tried storing these in tiny tables, but it doesn't seem that tiny tables allow one to store tokens. If I specify the value as say, criteria:tokens, it gets changed to just criteria. Probably, This is a ZPublisher feature. It interpretes ":type" suffixes of form

Re: [Zope] Tiny tables

2000-10-13 Thread andres
The problem with the TinyTable and TinyTablePlus products is that they use the tokenize.py module which treats any field value as a possible Python expression. Since ":" is a special token in Python, it gets interpreted as such. One quick way to get around this is to quote your field value -

[Zope] Tiny tables

2000-10-12 Thread Graham Chiu
I would like to run some regular reports based upon sqlmethods. The input to these are a mixture of normal values, and some tokenised values. I tried storing these in tiny tables, but it doesn't seem that tiny tables allow one to store tokens. If I specify the value as say, criteria:tokens,