>Hmmm ... i have been a bit to fast. 
>I wrapped my had around this, and found that long is
>handled through the int, by simply stripping the "L"
>of it (pythons string representation of long is 214321L ...)
>so it get passed as a valid long string. 
>
>sorry for mixing things up ...

Right, but works only if the string-representation is not greater than
the max-value of an integer.
The following does not work for me.

<dtml-let longnumber="2400000000L">
update tbl_test set adresse = <dtml-sqlvar longnumber type="int">
</dtml-let>

Greetings

-- 
Andre Schubert            EMail:   [EMAIL PROTECTED]
                          Tel:     03774 6625-78
km3 teledienst GmbH       Fax:     03774 6625-79

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to