User Answers

My mistake... the odbc driver name was wrong :'( I can connect now :)

But I see that I have to rewrite the functions because the prepare, execute, fetch, etc attributes doesn't exist in pyODBC :'(

 

UPDATE: just by changing a few lines allowed me to work with pyODBC.

I can't remove the question, so I answer myself. The problem was at the routine called by the queue: a "lock" instruction seemed to break down everything.

So, removing the line solved the problem :-) Now I just need to know why locking a global messes the whole thing up :-O

Sorry, I just saw I can do:

Index NewIndex On Test(ELEMENTS).Name