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 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 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 >> >> >> > --