Subject | Re: [IBO] state |
---|---|
Author | Paul Vinkenoog |
Post date | 2003-08-13T21:36:16Z |
Hi Gediminas,
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?
or
Transaction->CommitRetaining() (commits and keeps tr. open)
Greetings,
Paul Vinkenoog
>> Try :So... if you click in the TIB_Edit and you type, you get the error
>> 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
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 (ifTransaction->Commit() (this will commit and close the tr.)
> autocommit is set to false)?
or
Transaction->CommitRetaining() (commits and keeps tr. open)
Greetings,
Paul Vinkenoog