I have, a question about using python with zope/zsql methods and wondered if anyone might be able to offer some advice. I have a python script called: addNewSurvey which, before adding a new record to a database, checks for two things: an existing surveyid and an existing listenerid both of which are colums in the same 'surveys' table. I have two python scripts: checkforsurvey(suveryid) and checkforlistener(listenerid) each of which which, on their own, successfully return a string of 'true' if a duplicate value exists. My problem, and my question, arises in the in the addNewSurvey script (see attached). What might be wrong with my syntax in addNewSurvey that is preventing me from adding a record successuflly? There are no error messages when it runs, but no visible results either? Any suggestions you might have are appreciated. John Tynan - webmaster KJZZ.org / KBAQ.or 480.774.8462