for fieldvalue in list of values:
    db.person.insert(name=fieldvalue)

Off coarse you can do it for multiple values :

list1=[(valfield1,valfield2,valfield3),(etc.),(etc.)] # Note : first
tuples = first rows you want to insert

for field1, field2, field3 in list1
    db.person.insert(field1=field1, field2=field2, field3=field3)
    db.commit # or you wait and the end of the loop better only one commit

Richard


On Sat, Sep 10, 2011 at 4:12 PM, Serbitar <[email protected]> wrote:
>
> To be more specific:
>
> Multiple records (found via a query), all with different values of
> course and one text field for each record. Just one submit button.
>
> On Sep 10, 9:55 pm, Serbitar <[email protected]> wrote:
> > is there any way toupdatemultiplerecordswith crud.update, or 
> > evenrecordswith a given query?

Reply via email to