When I submit a form, DAL creates a new 'id' for the row of table. How I retrieve it with form, to show it again or redirect to another page?
form=SQLFORM(db.processo, submit_button = "Cadastrar Processo") if form.accepts(request.vars, session): redirect (URL(r=request, f='processo', args[?])) where ? is the newly created record? -- Atenciosamente -- ========================= Alexandre Andrade Hipercenter.com--
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To post to this group, send email to web...@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.