Sorry for the delay:
> VI.ShowFPOnCall = True
> VI.Call(ParamNames, ParamVals)
> print ParamVals[1]
Before the failing Call, try adding:
VI._FlagAsMethod("Call")
_FlagAsMethod is a helper method inside these dynamic objects and will help
work-around COM objects that don't differentiate property
Thank you for the quick response :)
wy
>> Any presence of a non-ascii character, even if it is in the
>> comment only,
>> would cause this problem. I have tried various encoding, with
>> or without
>> BOM, and also adding the encoding specification at the top of
>> the file.
>> All these give the
Roger
Roger Upole wrote:
> Dean Allen Provins wrote:
>
snip===
>
> The parameter to odbc.SQLDataSources is a flag, rather than a position.
>
> import odbc
> s=odbc.SQLDataSources(odbc.SQL_FETCH_FIRST)
> while s:
> print s
> s=odbc.SQLDataSources (odbc.SQL_FETCH_NEXT)
>
> Roger