It's likely your recordset and connection objects are going out
of scope before they get a chance to fire any events.  As soon as
the function exits, both of the COM objects will be released.

Also, you might want to use the named constants from
win32com.client.constants in place of hardcoded values.
rs.CursorLocation=win32com.client.constants.adUseClient
makes the intent much clearer.

     hth
       Roger

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to