Subject Re: 2 TIBOTables opened towards the same table?
Author masonwheeler
Sounds like you need something equivalent to TClientDataset.CloneCursor.

If you're willing to put up with the extra steps, you could use TClientDataset, which will do exactly what you need. Set up one client dataset to read your TIBOTable through a provider, then have the second one clone the first. You'll have to post changes back to the TIBOTable once you're done, though.

Note: Provider support in IBObjects is not perfect. I've been working with Jason a little to try and improve things, but there are still some issues with it, so depending on what you're trying to do it may or may not work as expected.

--- In IBObjects@yahoogroups.com, Jacob Havkrog <jacobh@...> wrote:
>
> 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]
>