Re: [web2py] Re: Reading date from controller to view in web2py

2016-08-09 Thread Dave S
On Tuesday, August 9, 2016 at 12:24:11 PM UTC-7, madhu nomula wrote: > > Actually my requirement is to compare this result with a value from a > dropdown selected item. > Could you please suggest me the best option to capture from view to > get date instead on decimal forrmat. > So you're j

Re: [web2py] Re: Reading date from controller to view in web2py

2016-08-09 Thread madhu nomula
Actually my requirement is to compare this result with a value from a dropdown selected item. Could you please suggest me the best option to capture from view to get date instead on decimal forrmat. On Wed, Aug 10, 2016 at 12:28 AM, Niphlod wrote: > the problem is not the resultset: it's how it's

Re: [web2py] Re: Reading date from controller to view in web2py

2016-08-09 Thread Niphlod
the problem is not the resultset: it's how it's injected into the view On Tuesday, August 9, 2016 at 8:28:23 PM UTC+2, Dave S wrote: > > > > On Tuesday, August 9, 2016 at 10:56:48 AM UTC-7, madhu nomula wrote: >> >> db.define_table('ActivityMapping', >> Field('mapping_id'), >

Re: [web2py] Re: Reading date from controller to view in web2py

2016-08-09 Thread Dave S
On Tuesday, August 9, 2016 at 10:56:48 AM UTC-7, madhu nomula wrote: > > db.define_table('ActivityMapping', > Field('mapping_id'), > Field('resource_id',db.auth_user), > Field('org_id',db.Organization), > Field('solution_id',db.S

[web2py] Re: Reading date from controller to view in web2py

2016-08-09 Thread madhu nomula
db.define_table('AM', Field('mapping_id'), Field('resource_id',db.auth_user), Field('org_id',db.Organization), Field('solution_id',db.Solution), Field('activity_id',db.Activity), Field('activity_date','d

Re: [web2py] Re: Reading date from controller to view in web2py

2016-08-09 Thread madhu nomula
db.define_table('ActivityMapping', Field('mapping_id'), Field('resource_id',db.auth_user), Field('org_id',db.Organization), Field('solution_id',db.Solution), Field('activity_id',db.Activity), Field('acti

[web2py] Re: Reading date from controller to view in web2py

2016-08-09 Thread Dave S
On Tuesday, August 9, 2016 at 9:09:08 AM UTC-7, madhu nomula wrote: > > Hi, > > I am trying to read date output from controller, but I am getting value in > View as decimal values: > Which DB backend are you using? Can you show your define_table() code? /dps > > controller Code: > >ro