I'm trying to use the newly created record after submitting a form. I get 
the error from myFunc, telling me row is a NoneType. How can I fetch the 
newly created record?

*form = SQLFORM(db.mytable)
*
*if form.process().accepted:
*
*    row = db.mytable( request.args(0) ) # **request.args(0) should be the 
id of the newly created record, if I'm not mistaken*
*    myFunc( row )*


-- 

--- 
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