Page 1 of 1

Setting MSConnection isolation level programmatically

Posted: Wed 05 Mar 2008 15:14
by DavidHartley
I have SDAC professional, but I do not have the source code.

How can I set TMSConnection.IsolationLevel from my program, rather than at design time? The compiler does not understand the constant ilIsolated and I cannot cast an integer as TIsolationLevel.

Thanks in advance

Posted: Thu 06 Mar 2008 09:12
by Antaeus
You should include the OLEDBAccess unit into the uses clause.