Horst, Thanks for the suggestion. My problem lies elsewhere, in my input form, its not posting to the DB so I have to go check that. But thanks for the lead. It made me question whether my problem is elsewhere.
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 -~----------~----~----~----~------~----~------~--~---

