Phill Atwood wrote:
> intypes.com_error: (-2147352567, 'Exception occurred.', (0, 
> 'ADODB.Recordset', 'Operation is not allowed when the object is 
> closed.', 'C:\\WINDOWS\\HELP\\ADO270.CHM', 1240653, 
> -2146824584), None)

IIRC, you need to set Cursorlocation before calling Recordcount. Google
for more info.

adUseClient = 3
rs.Cursorlocation = adUseClient



Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to