[python-win32] MS Access query error
Robert Brewer
fumanchu at amor.org
Mon Mar 13 23:02:10 CET 2006
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
fumanchu at amor.org
More information about the Python-win32
mailing list