After reviewing your examples above, I've tried the following, but it returns "Invalid request invalid function".
Unfortunately I'm unable to tell which line or perhaps if the syntax is incorrect. * Is it possible to test functions like SQLFORM on a command line, or in IDLE or other debug editor suite? * Is there some error or wrong assumption in my code or syntax? def search_by_author(): form=SQLFORM(db.titles,fields=['author']) if request.vars.author: rows=db(db.titles.author.like('%%%s%%' % request.vars.author)).select(orderby=db.titles.author) else: rows=[] return dict(form=form,rows=rows) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---