Subject Re: [IBO] state
Author Paul Vinkenoog
Hi Gediminas,

>> Try :
>> IB_Query->Insert or
>> IB_Query->Edit

> Not working - got exception, that can't edit current
> record. Although TIB_Datasource has autoedit & autoinsert set to
> true, but I need to set edit/insert state manually

So... if you click in the TIB_Edit and you type, you get the error
message? But then, what do you mean by setting edit/insert state
manually? How do yo do that exactly? And if you do it, you can type
text and post the record?

Or does the error message appear when you try to post?

BTW: is your Query ReadOnly, and/or is RequestLive false?

> Commit isn't TIB_Query member, so how to call manual commit (if
> autocommit is set to false)?

Transaction->Commit() (this will commit and close the tr.)
or
Transaction->CommitRetaining() (commits and keeps tr. open)


Greetings,
Paul Vinkenoog