Subject | Re: [IBO] quoting of ixed case field names and link of connection and transaction |
---|---|
Author | Bjoern Reimer |
Post date | 2011-07-17T14:17:47Z |
Guten Tag, Support List,
am Sonntag, 17. Juli 2011 um 15:27 schrieben Sie:
Björn
--
am Sonntag, 17. Juli 2011 um 15:27 schrieben Sie:
>> I've updated to IBO 4.9 Release 14 [Build 11] from IBO Release 4.9 BuildAs I wrote above: IBO Release 4.9 Build 11
>> 11. Ok, not a small step....
> Which version did you come from?
>> Two things broke my code.Could it be that the default transaction is NULL or is it automatically created if missing?
>> First I've to 'backlink' transactions to their connection.
>> Without using the optical stuff it was enough to
>> - Create TIB_Connection
>> - create TIB_Transaction
>> - set DefaultTransaction of connection to that transaction
>> - create cursor or query or ...link it to connection and use it
>> Now I'm getting exception E_Trans_Not_Valid_For_Conn
>> To avoid it I've to set IB_Connection-property of transaction to
>> connection.
>> Is this intended?
> It should just use the DefaultTransaction.
>> My second problem is, that mixed case field names have to be doubleOk, I'm fixing my code...
>> quoted to use FieldByName-function of TIBOQuery
>> Also TIBOQuery.Fields[x].FieldName of now returns a quoted string.
> This was a needful change.
Björn
--