Don't have time to study your problem carefully... Though I guess you can pass your var throught session.var from parent controller to child controller... To do that, once your parent form is accepted you just iter over you form.vars or just pass the vars one at an time...
for var in form.vars: sesssion[var] = form.vars[var] or session.var1 = form.vars.var1 Make sure you clean your session in case your controller is bugged and get accepted even if there is field entries missing because in this given case the session.var will still be assign to the precedent var value... Other possibility is to redirect to child form enclose in an component and pass you vars throught url with vars attribute from URL(). You maybe need web2py_component() instead of redirect to update the enclosed subform... What I usually do for parent and child form is to use component and load the component with web2py_component() once form is accepted... Hope it helps. Richard On Fri, Nov 14, 2014 at 6:50 PM, Alex Glaros <alexgla...@gmail.com> wrote: > thanks Richard > > 1. will update CRUD later but need to finish project now; sqlFORM raises > errors I can't solve for this one function. > > 2. can you please tell me how to get these two vars from grandparent to > persist so that child can return to parent? > vars=dict(filter=db.SuperObjectComment.superObjectID, id= > db.SuperObjectComment.id > > thanks, > > Alex > > -- > 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. > -- 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.