Here is the problem.... should be layer.update_record(.....)
not layer.update(....) The former updates the record. The latter only update the dictionary that contains the record. Massimo On Dec 12, 4:33 pm, Fran <[email protected]> wrote: > On Dec 12, 10:18 pm, mdipierro <[email protected]> wrote: > > > I only see update, no insert. > > Right, since this is an Update method, not an Insert method.... > (I did the initial Insert via appadmin to get sample data into the > system) > > > Moreover I do know what "layer" is. Is it a table? > > It was defined earlier in the thread: > layer=db(db.gis_layer.id==t2.id).select()[0] > > Thanks, > F --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

