Computed fields are not stored in the database so I don't think you can do the sort of query you are trying to do. The computed field is only useful once you have a row set to work with. My understanding of this is that you need to run the queries against the latitude and longitude fields you are storing. That way you can get basic indexing of lat and longitude but not the combination unless you use a database with geospatial features. It's a bit more work on building the query but you should be fine to join the comments into your main query
Donald -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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/d/optout.