an error in "Simple SQL CRUD With PloneFormGen"?

Billy Saelim <[email protected]> Mon, 9 May 2011 11:26:38 -0400
Newsgroups gmane.comp.web.zope.plone.documentation
Message-ID <[email protected]>
Hi,



http://plone.org/products/ploneformgen/documentation/tutorial/sql-crud/tutorial-all-pages



When I followed the steps of this tutorial, I could not get update to work
unless I put quotes int in the WHERE clause as below:



Not working

-----------------



UPDATE conference_registration

SET

<dtml-sqltest string1 type=string>,

<dtml-sqltest string2 type=string>

WHERE  <dtml-sqltest uid type=int>



Working

------------



UPDATE conference_registration

SET

<dtml-sqltest string1 type=string>,

<dtml-sqltest string2 type=string>

WHERE  <dtml-sqltest uid type="int">




Thanks.

Billy

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd

_______________________________________________
Plone-docs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-docs