Dardo Schuster Glez wrote:
> Dear Sirs
>  
> I was programming many years with delphi/sql server and now i am
> looking python with your ado library to migrate . I am making my first
> ado program with python using python 3.1 and pythonwin but i have a
> problem : recordset can“t acces fields data i send you a sample and
> the answer from python
> ...  
>   while not rs.EOF:
>       print (rs.fields("nombre"))   
>       # Move to the next record in the RecordSet
>       rs.MoveNext()
> ... 
> AttributeError: '<win32com.gen_py.Microsoft ActiveX Data Objects 2.8
> Library._Recordset instance at 0x26371984>' object has no attribute
> 'fields'
>  
> Which is the problem ???

The problem is that the collection property is spelled "Fields", not
"fields".

> Please answer a soon as posible

As a general rule, it not polite to make a request like that.  We are
all unpaid volunteers here.  If someone knows the answer, they'll
respond as soon as they read your question.  If no one knows the answer,
no one will respond.  No one is going to read your message and say "I
think I'll wait until tomorrow to answer this."

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

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

Reply via email to