I have the following function:

rows=db(db.nodeNavbar.nodeID==id).select()
    if rows:
        for r in rows:
            if r.navbarID==VIEWNAVBARID:
                view_navbar_delete(id)
            if r.navbarID==TEXTNAVBARID:
                text_navbar_delete(id)
                if r.navbarID==GRAPHICSNAVBARID:
             etc.

After the call to the function:

view_navbar_delete(id)

I want to delete r, can I do:

r.delete()

... or won't that work?


Annet

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to