Subject Re: [IBO] Transaction is not valid for the current connection.
Author
I don't know why you're getting this behaviour but I had a look at the source (tdataset\IBODatasetEditors.pas) and in the function TConnectionProperty.GetValue I found the following:

        if InternalDataset.SetToDefaultConnection then
          Result := Result + ' (default)';

I would guess that commenting this out and rebuilding IBO would resolve the issue.  Obviously this is a hack but (if it works) maybe it will do until you get an official answer.


---In IBObjects@yahoogroups.com, <camrad@...> wrote :

Jason do you have any idea what I should to to stop this problem?
I'm now under pressure from above to change to something that works for us.
This is a now a very serious hold up for us.

Thanks
Cam



On 03/06/2014 8:01 PM, Cam camrad@... [IBObjects] wrote:
Hi,

Using IBO 5.3.5 [Build 1996] (rev 2015) , Delphi XE2.
I'm currently having a problem getting the message in the subject popping up at regular intervals. It only happens for the legacy TIBOTables in the application. Al the TIB_xx components do not have this problem.

Before each compilation I have to go through the whole project and check the IB_Connection property. 
If the original connection was named cnFB then the error occurs when the IB_Connection has been changed ( not by me ) in the IDE to cnFB (default).
Some code in the component in design mode must be changing this?

Changing it back to the original value,  the application does not have this error.

Saving the project can sometimes do this, but not every time.

Any clues/info appreciated
Cheers
Cam


DFM deatils for the connection are

object cnFB: TIB_Connection
    CacheStatementHandles = False
    SQLDialect = 3
    Params.Strings = (
      'SERVER=localhost'
      'PROTOCOL=TCP/IP'
      'PATH=diary'
      'CHARACTER SET=NONE'
      'BUFFERS=<default>'
      'SQL DIALECT=3')
    Left = 576
    Top = 24
  end