[Zope-DB] None

Michael Mauws michael.mauws at ualberta.ca
Fri Apr 30 11:58:13 EDT 2004


The solution to your problem may be as simple as putting the null="" option
within your dtml-var tags or, alternatively, null=" ", depending on the
desired outcome. In any case, note that any null values returned by Oracle
are rendered as "None" unless you specify how they are to be dealt with
using the "null=" option. So since I tend not to store zero values in my
tables, I often write things like <dtml-var AMOUNT_DUE null="0.00"> to avoid
having "None" displayed.

Hope this helps,

michael mauws

More information about the Zope-DB mailing list