Hi!
As Wally said you have to take care on the SET settings <s>. Have a look at the "SET DATASESSION" command section in the online helpfile - there can you find all datasession specific SET settings!
BTW: IMO you have to use the BeforeOpenTables event instead of the OpenTables methods Wally wrote!
SeBaFlu