It should look something like this. Try to get the form working before you add in the records. The URL will look like this: http://127.0.0.1:8000/myapp/default/display_form/3
request.args(0) will be '3' in the URL above. * def display_form(): record = db.person(request <http://web2py.com/book/default/docstring/request>.args(0)) or redirect <http://web2py.com/book/default/docstring/redirect>(URL <http://web2py.com/book/default/docstring/URL>('index')) form = SQLFORM <http://web2py.com/book/default/docstring/SQLFORM>(db.person, record) if form.accepts(request <http://web2py.com/book/default/docstring/request>.vars, session <http://web2py.com/book/default/docstring/session>): response <http://web2py.com/book/default/docstring/response>.flash = 'form accepted' elif form.errors: response <http://web2py.com/book/default/docstring/response>.flash = 'form has errors' return dict(form=form) *