Re: [web2py] Re: Random Selection Issue

2011-11-13 Thread Andrew Evans
Just to note my code looks like this: @auth.requires_login() def xreflection(): game_id = request.args(0) reflection_id = request.args(1) if reflection_id == None: return dict(redirect(URL('error','invalid'))) if game_id == None: return dict(redirect(URL('error','in

Re: [web2py] Re: Random Selection Issue

2011-11-13 Thread Andrew Evans
Hello just wondering if some one can help with this, still having no luck. Would appreciate any help *cheers On Fri, Nov 11, 2011 at 7:02 PM, Andrew Evans wrote: > Still trying to solve this any ideas are welcome *cheers >

Re: [web2py] Re: Random Selection Issue

2011-11-11 Thread Andrew Evans
Still trying to solve this any ideas are welcome *cheers

Re: [web2py] Re: Random Selection Issue

2011-11-11 Thread Andrew Evans
hmm that did not work any other ideas *cheers this is what we did def xreflection(): game_id = request.args(0) reflection_id = request.args(1) if reflection_id == None: return dict(redirect(URL('error','invalid'))) if game_id == None: return dict(redirect(URL('erro

[web2py] Re: Random Selection Issue

2011-11-11 Thread Anthony
Try setting the defaults before creating the form. On Friday, November 11, 2011 12:54:02 PM UTC-5, Andrew wrote: > > Anyone able to help with this? No pressure, just hoping I can get some > insight from one of the Gurus :-) > > *cheers > > On Thu, Nov 10, 2011 at 11:22 AM, Andrew Evans wrote: > >

[web2py] Re: Random Selection Issue

2011-11-11 Thread Andrew Evans
Anyone able to help with this? No pressure, just hoping I can get some insight from one of the Gurus :-) *cheers On Thu, Nov 10, 2011 at 11:22 AM, Andrew Evans wrote: > Hello I am trying to randomly select from entries in my database then > store that random result. The problem is its storing th