On Wed, Oct 29, 2014 at 2:51 PM, <satishmlmlml at gmail.com> wrote: > def fetchRecord(db, form): > try: > key = form['key'].value When you paste Python code into an email, it's absolutely crucial that you maintain formatting. The indentation is significant. Can you paste it again, please? ChrisA