Sure, though I think you don't even need the len() -- just do:

if selected_records:

Anthony

On Wednesday, June 5, 2013 12:12:48 PM UTC-4, Jordan Ladora wrote:
>
> Thanks - what about with 
>
> selected_records = db(q1&q2).select() 
>
> ..should I use 
>
> if len(selected_records):
>
> ..if no records are returned?
>
>
> Thanks again,
> -jl
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to