Subject RE: [IBO] 2 TIBOTables opened towards the same table?
Author IBO Support List
You should be able to use the DMLCacheFlags and Bookmark properties to
accomplish this.

Set the DMLCacheFlags property of the table inserted into to include
dcfAnnounceInsert and set the DMLCacheFlags property of the table to have
the insert show up in to dcfReceiveInsert.

Then, after the insert is posted in the one you should be able to set the
Bookmark of the one table to the other table's Bookmark property.

Let us know how it goes.

Jason
www.ibobjects.com


-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
Of Jacob Havkrog
Sent: Saturday, March 16, 2013 11:13 AM
To: IBObjects@yahoogroups.com
Subject: [IBO] 2 TIBOTables opened towards the same table?

Hi

I need 2 views on the same table in the same transaction.

Basically I'm trying to recreate something that works with TTable and
Paradox, where you can have two TTable instances open towards the same
table, and when a row is posted with one table, it is possible to scroll the
other table to this row and read back the same data.

I can't figure out how to do this with IBO. I have a TIBODatabase, a
TIBOTransaction and 2 TIOBTable components.

Inserting a row with Table1, and then doing a Table2.Last doesn't give me
the same row data back.

Is this possible?
Thanks
Jacob





[Non-text portions of this message have been removed]



------------------------------------

___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links