Hello, How may I pass the id of my entered record to an other function??
def atable_create(): if auth.has_membership(auth.id_group('group1')):form=crud.create(db.atable,next=URL(r=request,f='atable_read'),message=T('form accepted'))
elif form.errors: response.flash = T('form has errors') else: response.flash = T('please fill out the form') return dict(form=form) def atable_read(...): form=crud.read(db.atable,4) return dict(form=form) Thanks Jonhy