Have you checked what request.args[0] is?  Yes I had.

Have it working. My data set was smaller than I expected so I was
doing a query outside the range of what was in the data set.

On May 16, 5:45 pm, Horst Herb <[email protected]>
wrote:
> On Sun, May 17, 2009 at 8:07 AM, JohnMc <[email protected]> wrote:
> > rows = db(db.notes.id==request.args[0]).select()
>
> > where args[0] equals 1, but fails returning an empty rows. Even tried
> > converting to int, same result.
>
> Works for me.
> Have you checked what request.args[0] is?
> eg by simply "print int(request.args[0])" and looking at the shell
> where you started web2py ?
>
> Horst
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to