Re: [web2py] Re: Form Vars and request Vars

2012-12-31 Thread Paul Rykiel
Thank you, I just started working with Web2py and I haven't looked at it in a month. So, I appreciate your help! Regards, On Monday, December 31, 2012 7:11:30 PM UTC-6, Roberto Perdomo wrote: > The problem is that Lanier_report don't have request.vars when is > redirected. > > Try putting somet

Re: [web2py] Re: Form Vars and request Vars

2012-12-31 Thread Roberto Perdomo
The problem is that Lanier_report don't have request.vars when is redirected. Try putting something like: redirect(URL('Labor_report', args=[form.vars.startDt, form.cars.endDT])) El 31/12/2012 20:21, "Paul Rykiel" escribió: > > On Monday, December 31, 2012 6:29:33 PM UTC-6, Paul Rykiel wrote: >

[web2py] Re: Form Vars and request Vars

2012-12-31 Thread Paul Rykiel
On Monday, December 31, 2012 6:29:33 PM UTC-6, Paul Rykiel wrote: > > hello, > > I have two form vars > > 1) startDt (defined as _class="date" > 2) endDt (defined as _class="date" > > if form.accepts(request,session) >redirect (URL('Labor_report')) > > def Labor_report(): >

[web2py] Re: Form Vars and request Vars

2012-12-31 Thread Paul Rykiel
So, we agree then that the following is true: strDT = 2012-12-1 endDT = 2012-12-30 request.args(0) (value is 2012-12-1) request.args(1) (value is 2012-12-30) although I have NONE is both any ideas? On Monday, December 31, 2012 6:35:38 PM UTC-6, Derek wrote: > Your labor_report should ta

[web2py] Re: Form Vars and request Vars

2012-12-31 Thread Derek
Your labor_report should take those two variables then. Unless of course, you store them in a session. On Monday, December 31, 2012 5:29:33 PM UTC-7, Paul Rykiel wrote: > > hello, > > I have two form vars > > 1) startDt (defined as _class="date" > 2) endDt (defined as _class="date" > > if