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 <francisb...@googlemail.com> wrote: > On Dec 12, 10:18 pm, mdipierro <mdipie...@cs.depaul.edu> 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 web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---