I have a simple form where I have a submit button that runs some code. 
After the code runs and the data is inserted into my table I do a simple 
redirect like so:

redirect(URL('voltrin_data'))

That just goes to a page I have set up with a grid. I notice if I am 
editing a record and press submit the next page that gets redirected to is 
the last record in the grid.

What I want to do is redirect to my grid but go to the page with the l;ast 
entry and not the first page.

How would I do that? I looked in the book but could not see how I would do 
this.

Thanks,

Tom

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to