Re: [web2py] Open a form (form=SQLFORM(db.marks)) for a selected person by clicking on a link of their name

2017-10-23 Thread mostwanted
Thanks alot Javier, it worked On Sunday, October 22, 2017 at 4:16:57 PM UTC+2, Javier Pepe wrote: > > Hi > > You can fill the record before SQLFORM > > def marks_entry(): > stu=db.student(request.args(0)) > > *db.marks.students.default = stu.id * >

Re: [web2py] Open a form (form=SQLFORM(db.marks)) for a selected person by clicking on a link of their name

2017-10-22 Thread Javier Pepe
Hi You can fill the record before SQLFORM def marks_entry(): stu=db.student(request.args(0)) *db.marks.students.default = stu.id * form=SQLFORM(db.marks) return locals(); 2017-10-22 8:59 GMT-03:00 mostwanted : > Hi guys, i need help, I'm

[web2py] Open a form (form=SQLFORM(db.marks)) for a selected person by clicking on a link of their name

2017-10-22 Thread mostwanted
Hi guys, i need help, I'm creating a simple results management system for a school and I've hit a stumbling block, what i wanna do is be able to open a form to make detail entries of a specific individual and this is how i want to do it, i wanna click on the specific individual's name and have