[Zope] multiplie udate/insert

David Hassalevris bluepaul at earthlink.net
Mon Aug 16 13:55:48 EDT 2004


William,

I do something like this.  I use a form and then each row of data has field
names like:
account01     desc01   amount01
account02     desc02   amount02
etc

then, after submit do something like: (its been a while but this is close)

for n in range(numberOfRows):
   acct = 'account' + str(n)
   acctvalue = _[acct]

someZSQL( acct=acct, ...)
etc

HTH,
David
----- Original Message ----- 
From: "William Herring" <william.herring at spgenetics.com>
To: <zope at zope.org>
Sent: Monday, August 16, 2004 2:26 AM
Subject: [Zope] multiplie udate/insert


> I would like to update or insert multiple records to a single table using
> one form.  The form could have, say, possibilities for up to 25 row
entries.
> Is this possible using Zope?
>
>
> WH
>
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )



More information about the Zope mailing list