+-------[ michael nt milne ]---------------------- | thanks. Is there an example or a tutorial at all on this anywhere?
# queryConnection holds the id of a DA connectionObject=getattr(self, queryConnection) connection = connectionObject() results = connection.query(SQL_GOES_HERE) This is from Product code, it should be usable (s/self/context/) in a PythonScript, but, I haven't tested it. -- Andrew Milton [EMAIL PROTECTED] _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )