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" <ptryk...@gmail.com> escribió:

>
> 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():
>>       strDT = request.vars(0)
>>       endDT = request.vars(1)
>>
>> My issue is strDT and endDT are both NONE...
>> I cannot use strDT or endDT in my query since it is not passing the value
>>
>> any advice would be appreciated.
>>
>> The form works great with "Date picker"
>>
>> Now, I want to use these two variables in a query and I am using
>> request.vars
>>
>>
>>
>  --
>
>
>
>

-- 



Reply via email to