That works too - thank you! (I'm new to Python / web2py as you can
probably tell!)

On Aug 18, 3:06 pm, Anthony <[email protected]> wrote:
> Or even simpler, if you just want to test whether _any_ rows were returned,
> do:
>
> {{if rows:}}
> {{[do something with rows]}}
> {{else:}}
> {{='No rows found'}}
> {{pass}}
>
> An empty rows object evaluates to False.
>
> Anthony
>
>
>
>
>
>
>
> On Thursday, August 18, 2011 8:12:57 AM UTC-4, fishwebby wrote:
> > I knew there would be a simple answer - thank you!

Reply via email to