This is not valid dal syntax. Can you explain what is the supposed to do?

On Sunday, 10 March 2013 19:00:45 UTC-5, Andrew Evans wrote:
>
> I am now getting this error 
>
> AttributeError: 'Table' object has no attribute 
> 'SUBSTRING(listing.userinfo,5,(6 - 5))'
>
>
> Using this code
>
>     listing_id = request.args(0)
>     query = db.listing[listing_id] and db.listing.userinfo[auth.user.id]
>     query = db.listing[query] 
>     form = SQLFORM(db.listing, query, formstyle='divs')
>
> any help is greatly appreciated 
>
> *cheers
>
> And thank you
>

-- 

--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to